Archived
1
0
This repository has been archived on 2021-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
lua-fastcgi/src/lfuncs.h
Christopher Ramey 76d187e568 Switched to mmap for loading files. Added POST variable handling. Added
sandboxed loadstring, loadfile and  dofile functions for Lua. Fixed bug
where errors generated during request parsing may cause memory leaks
on certain platforms. Fixed bug where non-string errors generated by
Lua would cause a segmentation fault. Corrected various typos and
unclear code comments.
2012-05-21 17:09:41 +00:00

15 lines
422 B
C

// Writes FCGI output followed by a carriage return
int LF_print(lua_State *);
// Writes FCGI output without a carriage return
int LF_write(lua_State *);
// loadstring() function with anti-bytecode security measures
int LF_loadstring(lua_State *);
// loadfile() function with sandboxing security measures
int LF_loadfile(lua_State *);
// dofile() function with sandboxing security measures
int LF_dofile(lua_State *);