lighttpd 1.4.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
772 B

* mod_vhostdb_api - virtual hosts mapping backend registration
* Copyright(c) 2017 Glenn Strauss gstrauss() All rights reserved
* License: BSD 3-clause (same as lighttpd)
#include "first.h"
#include "base_decls.h"
#include "buffer.h"
void http_vhostdb_dumbdata_reset (void);
typedef struct http_vhostdb_backend_t {
const char *name;
int(*query)(request_st *r, 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);