summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/log.h b/lib/log.h
index e0437603..1fd4fe0c 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -122,4 +122,7 @@ extern const char *zlog_priority[];
/* Safe version of strerror -- never returns NULL. */
extern const char *safe_strerror(int errnum);
+/* To be called when a fatal signal is caught. */
+extern void zlog_signal(int signo, const char *action);
+
#endif /* _ZEBRA_LOG_H */