mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
This is a maintenance fix for the NSE Nsock library binding. The patch focuses on code correctness and simplicity. The patch also brings some initial updates with an eye towards the upcoming Lua 5.2 release. See [1] for a post concerning this branch. [1] http://seclists.org/nmap-dev/2010/q3/710
14 lines
250 B
C
14 lines
250 B
C
#ifndef NMAP_LUA_NSOCK_H
|
|
#define NMAP_LUA_NSOCK_H
|
|
|
|
#include "nse_main.h"
|
|
|
|
LUALIB_API int luaopen_nsock (lua_State *);
|
|
LUALIB_API int l_nsock_new (lua_State *);
|
|
LUALIB_API int l_nsock_sleep (lua_State *);
|
|
|
|
#define NSE_NSOCK_LOOP "NSOCK_LOOP"
|
|
|
|
#endif
|
|
|