summaryrefslogtreecommitdiff
path: root/data/lighttpd/lighttpd-1.4.53/src/http_vhostdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/src/http_vhostdb.h')
-rw-r--r--data/lighttpd/lighttpd-1.4.53/src/http_vhostdb.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/src/http_vhostdb.h b/data/lighttpd/lighttpd-1.4.53/src/http_vhostdb.h
new file mode 100644
index 000000000..01036077b
--- /dev/null
+++ b/data/lighttpd/lighttpd-1.4.53/src/http_vhostdb.h
@@ -0,0 +1,21 @@
+#ifndef _HTTP_VHOST_H_
+#define _HTTP_VHOST_H_
+#include "first.h"
+
+#include "base_decls.h"
+#include "buffer.h"
+
+void http_vhostdb_dumbdata_reset (void);
+
+struct http_vhostdb_backend_t;
+
+typedef struct http_vhostdb_backend_t {
+ const char *name;
+ int(*query)(server *srv, connection *con, void *p_d, buffer *result);
+ void *p_d;
+} http_vhostdb_backend_t;
+
+const http_vhostdb_backend_t * http_vhostdb_backend_get (const buffer *name);
+void http_vhostdb_backend_set (const http_vhostdb_backend_t *backend);
+
+#endif