diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-02 17:11:35 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-02 17:11:35 +0000 |
commit | 8364e12dd2737cf77a4e3ead7c3d7bb9cc684010 (patch) | |
tree | bbcf4243478504ad6d5c6c9183ba7a81a8118b7a /lib/log.h | |
parent | db597018b8c47208e4139b75fdcd798505695ea8 (diff) | |
parent | 1e2ad204c4c72cb3ffa73864154c96047da8cad4 (diff) | |
download | quagga-8364e12dd2737cf77a4e3ead7c3d7bb9cc684010.tar.bz2 quagga-8364e12dd2737cf77a4e3ead7c3d7bb9cc684010.tar.xz |
Merge branch 'pthreads' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'lib/log.h')
-rw-r--r-- | lib/log.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -147,6 +147,22 @@ extern int zlog_reset_file (struct zlog *zl); /* Rotate log. */ extern int zlog_rotate (struct zlog *); +/* getters & setters */ +extern int zlog_get_default_lvl (struct zlog *zl); +extern void zlog_set_default_lvl (struct zlog *zl, int level); +extern void zlog_set_default_lvl_dest (struct zlog *zl, int level); +extern int zlog_get_maxlvl (struct zlog *zl, zlog_dest_t dest); +extern int zlog_get_facility (struct zlog *zl); +extern void zlog_set_facility (struct zlog *zl, int facility); +extern int zlog_get_record_priority (struct zlog *zl); +extern void zlog_set_record_priority (struct zlog *zl, int record_priority); +extern int zlog_get_timestamp_precision (struct zlog *zl); +extern void zlog_set_timestamp_precision (struct zlog *zl, int timestamp_precision); +extern const char * zlog_get_ident (struct zlog *zl); +extern char * zlog_get_filename (struct zlog *zl); +extern int zlog_is_file (struct zlog *zl); +extern const char * zlog_get_proto_name (struct zlog *zl); + /* For hackey massage lookup and check */ #define LOOKUP(x, y) mes_lookup(x, x ## _max, y, "(no item found)") |