2008-06-28 18:37:28 +00:00
|
|
|
#ifndef _LIGHTTPD_OPTIONS_LUA_H_
|
|
|
|
#define _LIGHTTPD_OPTIONS_LUA_H_
|
|
|
|
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/base.h>
|
2008-06-28 18:37:28 +00:00
|
|
|
#include <lua.h>
|
|
|
|
|
2008-09-26 14:11:08 +00:00
|
|
|
/* 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)
|
|
|
|
*/
|
2009-07-09 20:17:24 +00:00
|
|
|
LI_API liValue* li_value_from_lua(liServer *srv, lua_State *L);
|
2008-06-28 18:37:28 +00:00
|
|
|
|
2009-07-09 20:17:24 +00:00
|
|
|
LI_API GString* li_lua_togstring(lua_State *L, int ndx);
|
2008-06-28 18:37:28 +00:00
|
|
|
|
|
|
|
#endif
|