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

Changes print-like filter commands to use a log instead of a stderr.

And extends the log subsystem to better handle that.
This commit is contained in:
Ondrej Zajicek
2010-09-20 13:01:01 +02:00
parent 2dec1e3471
commit 0d1b3c4c0e
6 changed files with 170 additions and 78 deletions

View File

@@ -41,8 +41,11 @@ struct rate_limit {
};
#define log log_msg
void log_reset(void);
void log_commit(int class);
void log_msg(char *msg, ...);
void log_rl(struct rate_limit *rl, char *msg, ...);
void logn(char *msg, ...);
void die(char *msg, ...) NORET;
void bug(char *msg, ...) NORET;