version 1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
#ifndef _SERVER_H_ |
#ifndef _SERVER_H_ |
#define _SERVER_H_ |
#define _SERVER_H_ |
|
#include "first.h" |
|
|
#include "base.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_read(server *srv, const char *fn); |
int config_set_defaults(server *srv); |
int config_set_defaults(server *srv); |
buffer *config_get_value_buffer(server *srv, connection *con, config_var_t field); |
|
|
|
#endif |
#endif |