1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00
Files
nmap/nse_fs.h
david a9a84873f9 Add a new cnse.fetchscript, which first checks for an absolute path,
then looks in the scripts subdirectory, then in the current directory.
cnse.fetchfile_absolute now checks for an absolute path, then calls
nmap_fetchfile if that fails (and no longer looks in scripts/). Use
cnse.fetchscript when accessing files that should be in the scripts
subdirectory.
2011-03-26 06:48:29 +00:00

13 lines
176 B
C

#ifndef NSE_FS
#define NSE_FS
int fetchscript (lua_State *L);
int fetchfile_absolute (lua_State *L);
int nse_readdir (lua_State *L);
int luaopen_fs (lua_State *L);
#endif