parent
358b9f95f1
commit
3dceeb5916
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_ACTIONS_LUA_H_
|
||||
#define _LIGHTTPD_ACTIONS_LUA_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
#include <lua.h>
|
||||
|
||||
action* lua_get_action(lua_State *L, int ndx);
|
@ -0,0 +1,52 @@
|
||||
#ifndef _LIGHTTPD_BASE_H_
|
||||
#define _LIGHTTPD_BASE_H_
|
||||
|
||||
#include <lighttpd/settings.h>
|
||||
|
||||
/* Next try to fix strict-alias warning */
|
||||
#undef ev_init
|
||||
#define ev_init(ev,cb_) do { \
|
||||
ev_watcher *ew = (ev_watcher *)(void *)ev; \
|
||||
(ew)->active = \
|
||||
(ew)->pending = \
|
||||
(ew)->priority = 0; \
|
||||
ev_set_cb ((ev), cb_); \
|
||||
} while (0)
|
||||
|
||||
#undef ev_timer_set
|
||||
#define ev_timer_set(ev,after_,repeat_) do { \
|
||||
ev_watcher_time *ew = (ev_watcher_time *)(ev); \
|
||||
ew->at = (after_); \
|
||||
(ev)->repeat = (repeat_); \
|
||||
} while (0)
|
||||
|
||||
#include <lighttpd/typedefs.h>
|
||||
#include <lighttpd/utils.h>
|
||||
#include <lighttpd/module.h>
|
||||
|
||||
#include <lighttpd/chunk.h>
|
||||
#include <lighttpd/chunk_parser.h>
|
||||
|
||||
#include <lighttpd/server.h>
|
||||
#include <lighttpd/worker.h>
|
||||
#include <lighttpd/condition.h>
|
||||
#include <lighttpd/options.h>
|
||||
#include <lighttpd/value.h>
|
||||
#include <lighttpd/actions.h>
|
||||
#include <lighttpd/plugin.h>
|
||||
#include <lighttpd/http_headers.h>
|
||||
#include <lighttpd/http_request_parser.h>
|
||||
#include <lighttpd/request.h>
|
||||
#include <lighttpd/response.h>
|
||||
#include <lighttpd/virtualrequest.h>
|
||||
#include <lighttpd/log.h>
|
||||
|
||||
#include <lighttpd/connection.h>
|
||||
|
||||
#include <lighttpd/network.h>
|
||||
#include <lighttpd/collect.h>
|
||||
#include <lighttpd/utils.h>
|
||||
|
||||
#define SERVER_VERSION ((guint) 0x01FF0000)
|
||||
|
||||
#endif
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_CONDITION_LUA_H_
|
||||
#define _LIGHTTPD_CONDITION_LUA_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
#include <lua.h>
|
||||
|
||||
condition* lua_get_condition(lua_State *L, int ndx);
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_CONFIG_LUA_H_
|
||||
#define _LIGHTTPD_CONFIG_LUA_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
|
||||
LI_API gboolean config_lua_load(server *srv, const gchar *filename);
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_CONFIGPARSER_H_
|
||||
#define _LIGHTTPD_CONFIGPARSER_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
|
||||
struct config_parser_context_t;
|
||||
typedef struct config_parser_context_t config_parser_context_t;
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_FILTER_CHUNKED_H_
|
||||
#define _LIGHTTPD_FILTER_CHUNKED_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
|
||||
LI_API handler_t filter_chunked_encode(connection *con, chunkqueue *out, chunkqueue *in);
|
||||
LI_API handler_t filter_chunked_decode(connection *con, chunkqueue *out, chunkqueue *in);
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_MODULE_H_
|
||||
#define _LIGHTTPD_MODULE_H_
|
||||
|
||||
#include "settings.h"
|
||||
#include <lighttpd/settings.h>
|
||||
|
||||
#define MODULE_VERSION ((guint) 0x00000001)
|
||||
#define MODULE_VERSION_CHECK(mods) do { \
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_PLUGIN_CORE_H_
|
||||
#define _LIGHTTPD_PLUGIN_CORE_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
|
||||
enum core_options_t {
|
||||
CORE_OPTION_DEBUG_REQUEST_HANDLING = 0,
|
@ -1,7 +1,7 @@
|
||||
#ifndef WIN32_MMAP_H
|
||||
#define WIN32_MMAP_H
|
||||
|
||||
#include "settings.h"
|
||||
#include <lighttpd/settings.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_URL_PARSER_H_
|
||||
#define _LIGHTTPD_URL_PARSER_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
|
||||
LI_API gboolean parse_raw_url(request_uri *uri);
|
||||
LI_API gboolean parse_hostname(request_uri *uri);
|
@ -1,7 +1,7 @@
|
||||
#ifndef _LIGHTTPD_OPTIONS_LUA_H_
|
||||
#define _LIGHTTPD_OPTIONS_LUA_H_
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
#include <lua.h>
|
||||
|
||||
/* converts the top of the stack into an value
|
@ -1,3 +1,3 @@
|
||||
|
||||
#include "base.h"
|
||||
#include <lighttpd/base.h>
|
||||
|
||||
|
@ -1,53 +0,0 @@
|
||||
#ifndef _LIGHTTPD_BASE_H_
|
||||
#define _LIGHTTPD_BASE_H_
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
/* Next try to fix strict-alias warning */
|
||||
#undef ev_init
|
||||
#define ev_init(ev,cb_) do { \
|
||||
ev_watcher *ew = (ev_watcher *)(void *)ev; \
|
||||
(ew)->active = \
|
||||
(ew)->pending = \
|
||||
(ew)->priority = 0; \
|
||||
ev_set_cb ((ev), cb_); \
|
||||
} while (0)
|
||||
|
||||
#undef ev_timer_set
|
||||
#define ev_timer_set(ev,after_,repeat_) do { \
|
||||
ev_watcher_time *ew = (ev_watcher_time *)(ev); \
|
||||
ew->at = (after_); \
|
||||
(ev)->repeat = (repeat_); \
|
||||
} while (0)
|
||||
|
||||
#include "typedefs.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "module.h"
|
||||
|
||||
#include "chunk.h"
|
||||
#include "chunk_parser.h"
|
||||
|
||||
#include "server.h"
|
||||
#include "worker.h"
|
||||
#include "condition.h"
|
||||
#include "options.h"
|
||||
#include "value.h"
|
||||
#include "actions.h"
|
||||
#include "plugin.h"
|
||||
#include "http_headers.h"
|
||||
#include "http_request_parser.h"
|
||||
#include "request.h"
|
||||
#include "response.h"
|
||||
#include "virtualrequest.h"
|
||||
#include "log.h"
|
||||
|
||||
#include "connection.h"
|
||||
|
||||
#include "network.h"
|
||||
#include "collect.h"
|
||||
#include "utils.h"
|
||||
|
||||
#define SERVER_VERSION ((guint) 0x01FF0000)
|
||||
|
||||
#endif
|
Loading…
Reference in new issue