1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Configurable syslog name.

Also fixes a bug in syslog initialization.
This commit is contained in:
Ondrej Zajicek
2010-04-07 11:00:36 +02:00
parent b8113a5e92
commit 44d4ab7a96
6 changed files with 66 additions and 26 deletions

View File

@@ -15,6 +15,7 @@ struct pool;
/* main.c */
extern char *bird_name;
void async_config(void);
void async_dump(void);
void async_shutdown(void);
@@ -60,9 +61,8 @@ void krt_io_init(void);
/* log.c */
void log_init(int debug, int init);
void log_init_debug(char *); /* Initialize debug dump to given file (NULL=stderr, ""=off) */
void log_switch(int debug, struct list *);
void log_switch(int debug, list *l, char *); /* Use l=NULL for initial switch */
struct log_config {
node n;