Revision c8cafc8e conf/conf.h

View differences:

conf/conf.h
21 21
  list protos;				/* Configured protocol instances (struct proto_config) */
22 22
  list tables;				/* Configured routing tables (struct rtable_config) */
23 23
  list roa_tables;			/* Configured ROA tables (struct roa_table_config) */
24
  list logfiles;			/* Configured log fils (sysdep) */
24
  list logfiles;			/* Configured log files (sysdep) */
25 25

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

  
64
struct config *config_alloc(byte *name);
64
struct config *config_alloc(const byte *name);
65 65
int config_parse(struct config *);
66 66
int cli_parse(struct config *);
67 67
void config_free(struct config *);
......
95 95
#define cfg_alloc(size) lp_alloc(cfg_mem, size)
96 96
#define cfg_allocu(size) lp_allocu(cfg_mem, size)
97 97
#define cfg_allocz(size) lp_allocz(cfg_mem, size)
98
char *cfg_strdup(char *c);
98
char *cfg_strdup(const char *c);
99 99
void cfg_copy_list(list *dest, list *src, unsigned node_size);
100 100

  
101 101
/* Lexer */

Also available in: Unified diff