--- embedaddon/quagga/lib/log.h 2013/07/21 23:54:39 1.1.1.3 +++ embedaddon/quagga/lib/log.h 2016/11/02 10:09:11 1.1.1.4 @@ -53,6 +53,7 @@ typedef enum ZLOG_BABEL, ZLOG_OSPF6, ZLOG_ISIS, + ZLOG_PIM, ZLOG_MASC } zlog_proto_t; @@ -132,6 +133,8 @@ extern void plog_notice (struct zlog *, const char *fo extern void plog_debug (struct zlog *, const char *format, ...) PRINTF_ATTRIBUTE(2, 3); +extern void zlog_thread_info (int log_level); + /* Set logging level for the given destination. If the log_level argument is ZLOG_DISABLED, then the destination is disabled. This function should not be used for file logging (use zlog_set_file @@ -185,6 +188,8 @@ extern void zlog_backtrace_sigsafe(int priority, void *buf will be set to '\0', and 0 will be returned. */ extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */, char *buf, size_t buflen); + +extern void zlog_hexdump(void *mem, unsigned int len); /* structure useful for avoiding repeated rendering of the same timestamp */ struct timestamp_control {