2008-07-25 12:09:03 +00:00
|
|
|
#ifndef _LIGHTTPD_CONFIG_LUA_H_
|
|
|
|
#define _LIGHTTPD_CONFIG_LUA_H_
|
|
|
|
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/base.h>
|
2008-07-25 12:09:03 +00:00
|
|
|
|
2009-11-01 14:43:12 +00:00
|
|
|
#include <lualib.h>
|
|
|
|
|
2010-02-14 14:48:25 +00:00
|
|
|
LI_API gboolean li_config_lua_load(lua_State *L, liServer *srv, const gchar *filename, liAction **pact, gboolean allow_setup, liValue *args);
|
2008-07-25 12:09:03 +00:00
|
|
|
|
2009-12-21 17:19:12 +00:00
|
|
|
LI_API gboolean li_lua_config_publish_str_hash(liServer *srv, lua_State *L, GHashTable *ht, int (*wrapper)(liServer *srv, lua_State *L, gpointer data));
|
|
|
|
LI_API int li_lua_config_handle_server_action(liServer *srv, lua_State *L, gpointer _sa);
|
|
|
|
LI_API int li_lua_config_handle_server_setup(liServer *srv, lua_State *L, gpointer _ss);
|
|
|
|
|
2008-07-25 12:09:03 +00:00
|
|
|
#endif
|