~ubuntu-branches/ubuntu/natty/lighttpd/natty

« back to all changes in this revision

Viewing changes to src/server.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Marek
  • Date: 2005-11-26 11:48:51 UTC
  • Revision ID: james.westby@ubuntu.com-20051126114851-76t9q0rrwbzjnt2t
Tags: upstream-1.4.8
ImportĀ upstreamĀ versionĀ 1.4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SERVER_H_
 
2
#define _SERVER_H_
 
3
 
 
4
#include "base.h"
 
5
 
 
6
typedef struct {
 
7
        char *key;
 
8
        char *value;
 
9
} two_strings;
 
10
 
 
11
typedef enum { CONFIG_UNSET, CONFIG_DOCUMENT_ROOT } config_var_t;
 
12
 
 
13
int config_read(server *srv, const char *fn);
 
14
int config_set_defaults(server *srv);
 
15
buffer *config_get_value_buffer(server *srv, connection *con, config_var_t field);
 
16
 
 
17
#endif