]> 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 3413cae5a9a86ee4d9159b564941285598016ba4..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,6 +59,7 @@ typedef enum
   ZLOG_LDP,
   ZLOG_ISIS,
   ZLOG_PIM,
+  ZLOG_NHRP,
   ZLOG_RFP,
   ZLOG_WATCHFRR,
 } zlog_proto_t;
@@ -188,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