2
0
Fork 0

Add missing plugin_core.h for core options

personal/stbuehler/wip
Stefan Bühler 2008-08-08 18:51:27 +02:00
parent b8e3535546
commit 6dcfc736c2
1 changed files with 15 additions and 0 deletions

15
src/plugin_core.h Normal file
View File

@ -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