File: nse_lua.h

package info (click to toggle)
nmap 7.91%2Bdfsg1%2Breally7.80%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 52,600 kB
  • sloc: cpp: 60,892; ansic: 57,361; python: 17,800; sh: 16,347; xml: 11,556; perl: 2,679; makefile: 1,217; java: 45; objc: 43; awk: 23
file content (38 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef NSE_LUA_H
#define NSE_LUA_H

#ifdef HAVE_CONFIG_H
#include "nmap_config.h"
#else
#ifdef WIN32
#include "nmap_winconfig.h"
#endif /* WIN32 */
#endif /* HAVE_CONFIG_H */

#ifdef __cplusplus
extern "C" {
#endif

#ifdef HAVE_LUA5_3_LUA_H
  #include <lua5.3/lua.h>
  #include <lua5.3/lauxlib.h>
  #include <lua5.3/lualib.h>
#elif defined HAVE_LUA_5_3_LUA_H
  #include <lua/5.3/lua.h>
  #include <lua/5.3/lauxlib.h>
  #include <lua/5.3/lualib.h>
#elif defined HAVE_LUA_H || defined LUA_INCLUDED
  #include <lua.h>
  #include <lauxlib.h>
  #include <lualib.h>
#elif defined HAVE_LUA_LUA_H
  #include <lua/lua.h>
  #include <lua/lauxlib.h>
  #include <lua/lualib.h>
#endif

#ifdef __cplusplus
} /* End of 'extern "C"' */
#endif

#endif /* NSE_LUA_H */