File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / src / server.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 10:32:47 2013 UTC (11 years, 2 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

#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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>