From 3398e1f94ee947a0a28fc6a71ec13d2b045183b5 Mon Sep 17 00:00:00 2001 From: pgpickering Date: Thu, 31 Jul 2008 14:21:28 +0000 Subject: [PATCH] modified nse_init.cc, added binlib and hashlib to NSE --- nse_init.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nse_init.cc b/nse_init.cc index ffd5b9c93..9b15e34db 100644 --- a/nse_init.cc +++ b/nse_init.cc @@ -7,6 +7,9 @@ // 3rd Party libs #include "nse_pcrelib.h" +#include "nse_binlib.h" +#include "nse_hash.h" + #include "nbase.h" #include "nmap.h" @@ -215,6 +218,8 @@ int init_lua (lua_State *L) static const luaL_Reg libs[] = { {NSE_PCRELIBNAME, luaopen_pcrelib}, // pcre library {"nmap", luaopen_nmap} // nmap bindings + ,{NSE_BINLIBNAME, luaopen_binlib} + ,{NSE_HASHLIBNAME, luaopen_hashlib} }; luaL_openlibs(L); // opens all standard libraries