Add missing plugin_core.h for core options

personal/stbuehler/wip
Stefan Bühler 15 years ago
parent b8e3535546
commit 6dcfc736c2

@ -0,0 +1,15 @@
#ifndef _LIGHTTPD_PLUGIN_CORE_H_
#define _LIGHTTPD_PLUGIN_CORE_H_
enum core_options_t {
CORE_OPTION_DEBUG_REQUEST_HANDLING = 0,
CORE_OPTION_LOG_LEVEL = 1,
CORE_OPTION_STATIC_FILE_EXCLUDE = 2
};
/* the core plugin always has base index 0, as it is the first plugin loaded */
#define CORE_OPTION(idx) _CORE_OPTION(con, idx)
#define _CORE_OPTION(con, idx) _OPTION_ABS(con, idx)
#endif
Loading…
Cancel
Save