Diff for /embedaddon/quagga/lib/log.h between versions 1.1.1.2 and 1.1.1.4

version 1.1.1.2, 2012/10/09 09:22:28 version 1.1.1.4, 2016/11/02 10:09:11
Line 53  typedef enum  Line 53  typedef enum 
   ZLOG_BABEL,    ZLOG_BABEL,
   ZLOG_OSPF6,    ZLOG_OSPF6,
   ZLOG_ISIS,    ZLOG_ISIS,
     ZLOG_PIM,
   ZLOG_MASC    ZLOG_MASC
 } zlog_proto_t;  } zlog_proto_t;
   
Line 132  extern void plog_notice (struct zlog *, const char *fo Line 133  extern void plog_notice (struct zlog *, const char *fo
 extern void plog_debug (struct zlog *, const char *format, ...)  extern void plog_debug (struct zlog *, const char *format, ...)
   PRINTF_ATTRIBUTE(2, 3);    PRINTF_ATTRIBUTE(2, 3);
   
   extern void zlog_thread_info (int log_level);
   
 /* Set logging level for the given destination.  If the log_level  /* Set logging level for the given destination.  If the log_level
    argument is ZLOG_DISABLED, then the destination is disabled.     argument is ZLOG_DISABLED, then the destination is disabled.
    This function should not be used for file logging (use zlog_set_file     This function should not be used for file logging (use zlog_set_file
Line 146  extern int zlog_reset_file (struct zlog *zl); Line 149  extern int zlog_reset_file (struct zlog *zl);
 /* Rotate log. */  /* Rotate log. */
 extern int zlog_rotate (struct zlog *);  extern int zlog_rotate (struct zlog *);
   
/* For hackey massage lookup and check *//* For hackey message lookup and check */
#define LOOKUP(x, y) mes_lookup(x, x ## _max, y, "(no item found)", #x)#define LOOKUP_DEF(x, y, def) mes_lookup(x, x ## _max, y, def, #x)
 #define LOOKUP(x, y) LOOKUP_DEF(x, y, "(no item found)")
   
 extern const char *lookup (const struct message *, int);  extern const char *lookup (const struct message *, int);
 extern const char *mes_lookup (const struct message *meslist,   extern const char *mes_lookup (const struct message *meslist, 
Line 184  extern void zlog_backtrace_sigsafe(int priority, void  Line 188  extern void zlog_backtrace_sigsafe(int priority, void 
    *buf will be set to '\0', and 0 will be returned. */     *buf will be set to '\0', and 0 will be returned. */
 extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */,  extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */,
                                char *buf, size_t buflen);                                 char *buf, size_t buflen);
   
   extern void zlog_hexdump(void *mem, unsigned int len);
   
 /* structure useful for avoiding repeated rendering of the same timestamp */  /* structure useful for avoiding repeated rendering of the same timestamp */
 struct timestamp_control {  struct timestamp_control {

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>