summaryrefslogtreecommitdiffstats
path: root/lib/log.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-03-02 17:33:37 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-07 01:40:26 +0100
commit1f806fc2c86f4d821ef9bfb2df4d841b7a2e56e4 (patch)
tree431864dad885a7b44e3ab99aa0fed2a22d00eafd /lib/log.h
parentMerge pull request #249 from opensourcerouting/ldpd-rfcs (diff)
downloadfrr-1f806fc2c86f4d821ef9bfb2df4d841b7a2e56e4.tar.xz
frr-1f806fc2c86f4d821ef9bfb2df4d841b7a2e56e4.zip
lib: add zlog_sanitize function
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--lib/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/log.h b/lib/log.h
index 3413cae5a..43fc0130d 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -188,6 +188,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