summaryrefslogtreecommitdiffstats
path: root/mod_log_sql.h
diff options
context:
space:
mode:
Diffstat (limited to 'mod_log_sql.h')
-rw-r--r--mod_log_sql.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod_log_sql.h b/mod_log_sql.h
index 032bd01..994ddf6 100644
--- a/mod_log_sql.h
+++ b/mod_log_sql.h
@@ -52,12 +52,12 @@ typedef enum {
52 LOGSQL_QUERY_FAIL, 52 LOGSQL_QUERY_FAIL,
53 LOGSQL_QUERY_NOLINK, 53 LOGSQL_QUERY_NOLINK,
54 LOGSQL_QUERY_NOTABLE, 54 LOGSQL_QUERY_NOTABLE,
55 LOGSQL_QUERY_PRESERVED, 55 LOGSQL_QUERY_PRESERVED
56} logsql_query_ret; 56} logsql_query_ret;
57 57
58typedef enum { 58typedef enum {
59 LOGSQL_TABLE_SUCCESS = 0, 59 LOGSQL_TABLE_SUCCESS = 0,
60 LOGSQL_TABLE_FAIL, 60 LOGSQL_TABLE_FAIL
61} logsql_table_ret; 61} logsql_table_ret;
62 62
63/* Table type to create/log to */ 63/* Table type to create/log to */
@@ -66,7 +66,7 @@ typedef enum {
66 LOGSQL_TABLE_NOTES, 66 LOGSQL_TABLE_NOTES,
67 LOGSQL_TABLE_HEADERSOUT, 67 LOGSQL_TABLE_HEADERSOUT,
68 LOGSQL_TABLE_HEADERSIN, 68 LOGSQL_TABLE_HEADERSIN,
69 LOGSQL_TABLE_COOKIES, 69 LOGSQL_TABLE_COOKIES
70} logsql_tabletype; 70} logsql_tabletype;
71 71
72/* All Tables */ 72/* All Tables */
@@ -111,10 +111,10 @@ LOGSQL_DECLARE(void) log_sql_register_driver(apr_pool_t *p,
111 NULL, NULL, NULL, NULL, NULL, register_hooks }; \ 111 NULL, NULL, NULL, NULL, NULL, register_hooks }; \
112 static int post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) 112 static int post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
113#elif defined(WITH_APACHE13) 113#elif defined(WITH_APACHE13)
114# define LOGSQL_REGISTER() \ 114# define LOGSQL_REGISTER(driver) \
115 static void module_init(server_rec *s, apr_pool_t *p); \ 115 static void module_init(server_rec *s, apr_pool_t *p); \
116 module log_sql_##driver##_module = { \ 116 module log_sql_##driver##_module = { \
117 STANDARD_MODULE_STUFF, module_init }; 117 STANDARD_MODULE_STUFF, module_init }; \
118 static void module_init(server_rec *s, apr_pool_t *p) 118 static void module_init(server_rec *s, apr_pool_t *p)
119#endif 119#endif
120 120