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.
lighttpd1.4/src/server.h

18 lines
359 B

#ifndef _SERVER_H_
#define _SERVER_H_
#include "base.h"
typedef struct {
char *key;
char *value;
} two_strings;
typedef enum { CONFIG_UNSET, CONFIG_DOCUMENT_ROOT } config_var_t;
int config_read(server *srv, const char *fn);
int config_set_defaults(server *srv);
buffer *config_get_value_buffer(server *srv, connection *con, config_var_t field);
#endif