1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00

Updated NSE's bit library to no longer be a shared library.

See this thread: http://seclists.org/nmap-dev/2008/q3/0404.html
This commit is contained in:
batrick
2008-08-27 22:23:50 +00:00
parent 37402de4e1
commit 8a44c9432d
5 changed files with 108 additions and 15 deletions

View File

@@ -6,6 +6,7 @@
// 3rd Party libs
#include "nse_pcrelib.h"
#include "nse_bit.h"
#include "nse_binlib.h"
#include "nse_hash.h"
@@ -218,9 +219,10 @@ int init_lua (lua_State *L)
int i;
static const luaL_Reg libs[] = {
{NSE_PCRELIBNAME, luaopen_pcrelib}, // pcre library
{"nmap", luaopen_nmap} // nmap bindings
,{NSE_BINLIBNAME, luaopen_binlib}
,{NSE_HASHLIBNAME, luaopen_hashlib}
{"nmap", luaopen_nmap}, // nmap bindings
{NSE_BINLIBNAME, luaopen_binlib},
{NSE_HASHLIBNAME, luaopen_hashlib},
{BITLIBNAME, luaopen_bit}, // bit library
};
luaL_openlibs(L); // opens all standard libraries