diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
commit | 8b2630a82fbecfd57fa38aebb397a755936690e5 (patch) | |
tree | a9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/mod_sql_vhost_core.h | |
parent | e57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff) | |
download | lighttpd-master.tar.gz |
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_sql_vhost_core.h')
-rw-r--r-- | src/mod_sql_vhost_core.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/mod_sql_vhost_core.h b/src/mod_sql_vhost_core.h deleted file mode 100644 index 2d70f62d..00000000 --- a/src/mod_sql_vhost_core.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef _MOD_SQL_VHOST_CORE_H_ -#define _MOD_SQL_VHOST_CORE_H_ - -#include "buffer.h" -#include "plugin.h" - -#ifdef HAVE_GLIB_H -#include <glib.h> -#endif - -#define SQLVHOST_BACKEND_GETVHOST_PARAMS \ - (server *srv, connection *con, void *p_d, buffer *docroot, buffer *host) - -#define SQLVHOST_BACKEND_GETVHOST_RETVAL handler_t - -#define SQLVHOST_BACKEND_GETVHOST(name) \ - SQLVHOST_BACKEND_GETVHOST_RETVAL name SQLVHOST_BACKEND_GETVHOST_PARAMS - -#define SQLVHOST_BACKEND_GETVHOST_PTR(name) \ - SQLVHOST_BACKEND_GETVHOST_RETVAL (* name)SQLVHOST_BACKEND_GETVHOST_PARAMS - -typedef struct { - buffer *db; - buffer *user; - buffer *pass; - buffer *sock; - - buffer *hostname; - unsigned short port; - - buffer *backend; - void *backend_data; - - buffer *select_vhost; - - unsigned short cache_ttl; - unsigned short debug; - -#ifdef HAVE_GLIB_H - GHashTable *vhost_table; -#endif - - SQLVHOST_BACKEND_GETVHOST_PTR(get_vhost); -} mod_sql_vhost_core_plugin_config; - -/* global plugin data */ -typedef struct { - PLUGIN_DATA; - - buffer *docroot; - buffer *host; - - mod_sql_vhost_core_plugin_config **config_storage; - - mod_sql_vhost_core_plugin_config conf; -} mod_sql_vhost_core_plugin_data; - - - -#endif |