]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/log.h
Merge pull request #257 from opensourcerouting/nhrpd
[mirror_frr.git] / lib / log.h
index cd4cd1495a7cb2c4e697b7b6daac0fd5210820fa..00c996c5be27f24aecf5f1ea3c5fff1d1d497631 100644 (file)
--- a/lib/log.h
+++ b/lib/log.h
@@ -24,6 +24,7 @@
 #define _ZEBRA_LOG_H
 
 #include <syslog.h>
+#include <stdio.h>
 
 /* Here is some guidance on logging levels to use:
  *
@@ -58,7 +59,9 @@ typedef enum
   ZLOG_LDP,
   ZLOG_ISIS,
   ZLOG_PIM,
+  ZLOG_NHRP,
   ZLOG_RFP,
+  ZLOG_WATCHFRR,
 } zlog_proto_t;
 
 /* If maxlvl is set to ZLOG_DISABLED, then no messages will be sent
@@ -187,6 +190,7 @@ extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */,
                               char *buf, size_t buflen);
 
 extern void zlog_hexdump(const void *mem, unsigned int len);
+extern const char *zlog_sanitize(char *buf, size_t bufsz, const void *in, size_t inlen);
 
 
 extern int