diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-09-20 13:01:01 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-09-20 13:01:01 +0200 |
commit | 0d1b3c4c0e3261d1d4261e9aeb9975a01d0ff2f9 (patch) | |
tree | 05ae8b12a4ce9c7173ae5c3365f4f63367c2eb4c /lib/birdlib.h | |
parent | 2dec1e3471385ea191862c8fe85d76a8e47410de (diff) | |
download | bird-0d1b3c4c0e3261d1d4261e9aeb9975a01d0ff2f9.tar bird-0d1b3c4c0e3261d1d4261e9aeb9975a01d0ff2f9.zip |
Changes print-like filter commands to use a log instead of a stderr.
And extends the log subsystem to better handle that.
Diffstat (limited to 'lib/birdlib.h')
-rw-r--r-- | lib/birdlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h index 12a581b..c377a64 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -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; |