mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Corrected many #includes for header files (where they are included).
Moved the includes for Lua headers to the .cc files so they are not needlessly, repeatedly included. Similarly, moved some standard headers to the .cc files and reorganized includes to be uniform for all nse_* source files. Fixed whitespace (removed tabs).
This commit is contained in:
11
nse_main.h
11
nse_main.h
@@ -1,18 +1,17 @@
|
||||
#ifndef NMAP_LUA_H
|
||||
#define NMAP_LUA_H
|
||||
|
||||
extern "C" {
|
||||
#include "lua.h"
|
||||
#include "lualib.h"
|
||||
#include "lauxlib.h"
|
||||
}
|
||||
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include <iostream>
|
||||
|
||||
extern "C" {
|
||||
#include "lua.h"
|
||||
#include "lauxlib.h"
|
||||
}
|
||||
|
||||
class ScriptResult
|
||||
{
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user