[doc] NEWS
[lighttpd.git] / src / http_vhostdb.h
blob01036077bb2655b260a5618b4b57a3f373d6bbe2
1 #ifndef _HTTP_VHOST_H_
2 #define _HTTP_VHOST_H_
3 #include "first.h"
5 #include "base_decls.h"
6 #include "buffer.h"
8 void http_vhostdb_dumbdata_reset (void);
10 struct http_vhostdb_backend_t;
12 typedef struct http_vhostdb_backend_t {
13 const char *name;
14 int(*query)(server *srv, connection *con, void *p_d, buffer *result);
15 void *p_d;
16 } http_vhostdb_backend_t;
18 const http_vhostdb_backend_t * http_vhostdb_backend_get (const buffer *name);
19 void http_vhostdb_backend_set (const http_vhostdb_backend_t *backend);
21 #endif