2008-11-16 20:33:53 +00:00
|
|
|
#ifndef _LIGHTTPD_BASE_H_
|
|
|
|
#define _LIGHTTPD_BASE_H_
|
|
|
|
|
2009-04-17 16:16:50 +00:00
|
|
|
#ifdef _LIGHTTPD_ANGEL_BASE_H_
|
|
|
|
#error Do not mix lighty with angel code
|
|
|
|
#endif
|
|
|
|
|
2008-11-16 20:33:53 +00:00
|
|
|
#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/module.h>
|
|
|
|
|
2009-07-07 20:40:44 +00:00
|
|
|
#include <lighttpd/angel_data.h>
|
|
|
|
#include <lighttpd/angel_connection.h>
|
|
|
|
|
2009-11-29 14:18:24 +00:00
|
|
|
#include <lighttpd/buffer.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/chunk.h>
|
|
|
|
#include <lighttpd/chunk_parser.h>
|
|
|
|
|
2008-11-17 09:26:25 +00:00
|
|
|
#include <lighttpd/waitqueue.h>
|
|
|
|
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/server.h>
|
|
|
|
#include <lighttpd/worker.h>
|
2008-12-20 15:25:02 +00:00
|
|
|
#include <lighttpd/angel.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/condition.h>
|
2009-06-17 08:59:34 +00:00
|
|
|
#include <lighttpd/ip_parsers.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#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>
|
2009-01-10 12:30:58 +00:00
|
|
|
#include <lighttpd/http_response_parser.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/request.h>
|
|
|
|
#include <lighttpd/response.h>
|
2008-12-31 15:23:00 +00:00
|
|
|
#include <lighttpd/environment.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/virtualrequest.h>
|
|
|
|
#include <lighttpd/log.h>
|
2009-03-01 20:16:58 +00:00
|
|
|
#include <lighttpd/stat_cache.h>
|
2009-04-16 15:02:53 +00:00
|
|
|
#include <lighttpd/throttle.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
|
|
|
|
#include <lighttpd/connection.h>
|
|
|
|
|
2009-01-09 20:42:42 +00:00
|
|
|
#include <lighttpd/filter_chunked.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/collect.h>
|
2009-01-09 20:42:42 +00:00
|
|
|
#include <lighttpd/network.h>
|
2009-03-17 13:21:20 +00:00
|
|
|
#include <lighttpd/etag.h>
|
2009-06-23 21:40:13 +00:00
|
|
|
#include <lighttpd/lighttpd-glue.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/utils.h>
|
2009-06-17 08:59:34 +00:00
|
|
|
#include <lighttpd/lighttpd-glue.h>
|
2008-11-16 20:33:53 +00:00
|
|
|
|
|
|
|
#define SERVER_VERSION ((guint) 0x01FF0000)
|
|
|
|
|
|
|
|
#endif
|