lighttpd 1.4.x
https://www.lighttpd.net/
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.
31 lines
772 B
31 lines
772 B
1 year ago
|
/*
|
||
|
* mod_vhostdb_api - virtual hosts mapping backend registration
|
||
|
*
|
||
|
* Copyright(c) 2017 Glenn Strauss gstrauss()gluelogic.com All rights reserved
|
||
|
* License: BSD 3-clause (same as lighttpd)
|
||
|
*/
|
||
|
#ifndef INCLUDED_MOD_VHOSTDB_API_H
|
||
|
#define INCLUDED_MOD_VHOSTDB_API_H
|
||
6 years ago
|
#include "first.h"
|
||
|
|
||
4 years ago
|
#include "base_decls.h"
|
||
|
#include "buffer.h"
|
||
6 years ago
|
|
||
1 year ago
|
__attribute_cold__
|
||
6 years ago
|
void http_vhostdb_dumbdata_reset (void);
|
||
|
|
||
6 years ago
|
typedef struct http_vhostdb_backend_t {
|
||
|
const char *name;
|
||
3 years ago
|
int(*query)(request_st *r, void *p_d, buffer *result);
|
||
6 years ago
|
void *p_d;
|
||
|
} http_vhostdb_backend_t;
|
||
|
|
||
1 year ago
|
__attribute_cold__
|
||
1 year ago
|
__attribute_pure__
|
||
6 years ago
|
const http_vhostdb_backend_t * http_vhostdb_backend_get (const buffer *name);
|
||
1 year ago
|
|
||
|
__attribute_cold__
|
||
6 years ago
|
void http_vhostdb_backend_set (const http_vhostdb_backend_t *backend);
|
||
|
|
||
|
#endif
|