[core] fdevent_cycle_logger()
[lighttpd.git] / src / http_vhostdb.h
blob4f9f5b0e84c223d0463ae7dc80ecc7f38e5d0b6f
1 #ifndef _HTTP_VHOST_H_
2 #define _HTTP_VHOST_H_
3 #include "first.h"
5 #include "base.h"
7 void http_vhostdb_dumbdata_reset (void);
9 struct http_vhostdb_backend_t;
11 typedef struct http_vhostdb_backend_t {
12 const char *name;
13 int(*query)(server *srv, connection *con, void *p_d, buffer *result);
14 void *p_d;
15 } http_vhostdb_backend_t;
17 const http_vhostdb_backend_t * http_vhostdb_backend_get (const buffer *name);
18 void http_vhostdb_backend_set (const http_vhostdb_backend_t *backend);
20 #endif