2
0
Fork 0
lighttpd2/include/lighttpd/value_lua.h

16 lines
370 B
C
Raw Normal View History

2008-06-28 18:37:28 +00:00
#ifndef _LIGHTTPD_OPTIONS_LUA_H_
#define _LIGHTTPD_OPTIONS_LUA_H_
#include <lighttpd/base.h>
2008-06-28 18:37:28 +00:00
#include <lua.h>
/* converts the top of the stack into an value
2008-06-28 18:37:28 +00:00
* and pops the value
* returns NULL if it couldn't convert the value (still pops it)
*/
LI_API value* value_from_lua(server *srv, lua_State *L);
2008-06-28 18:37:28 +00:00
LI_API GString* lua_togstring(lua_State *L, int ndx);
#endif