Revision 9b0a0ba9 conf/conf.h

View differences:

conf/conf.h
9 9
#ifndef _BIRD_CONF_H_
10 10
#define _BIRD_CONF_H_
11 11

  
12
#include "sysdep/config.h"
13
#include "lib/ip.h"
12 14
#include "lib/resource.h"
13 15
#include "sysdep/unix/timer.h"
14 16

  
......
21 23
  list protos;				/* Configured protocol instances (struct proto_config) */
22 24
  list tables;				/* Configured routing tables (struct rtable_config) */
23 25
  list logfiles;			/* Configured log files (sysdep) */
26
  list tests;				/* Configured unit tests */
24 27

  
25 28
  int mrtdump_file;			/* Configured MRTDump file (sysdep, fd in unix) */
26 29
  char *syslog_name;			/* Name used for syslog (NULL -> no syslog) */
......
60 63
extern struct config *config;		/* Currently active configuration */
61 64
extern struct config *new_config;	/* Configuration being parsed */
62 65

  
63
struct config *config_alloc(const byte *name);
66
struct config *config_alloc(const char *name);
64 67
int config_parse(struct config *);
65 68
int cli_parse(struct config *);
66 69
void config_free(struct config *);
......
161 164

  
162 165
/* Parser */
163 166

  
167
extern char *cf_text;
164 168
int cf_parse(void);
165 169

  
166 170
/* Sysdep hooks */

Also available in: Unified diff