summaryrefslogtreecommitdiffstats
path: root/lib/log.h
diff options
context:
space:
mode:
authorroot <root@hestia.halldom.com>2010-07-22 00:55:23 +0100
committerroot <root@hestia.halldom.com>2010-07-22 00:55:23 +0100
commit0f1365093f448e9503b618a5097eb8d6433e7710 (patch)
tree5db698d8d51a441aacd0f5d8ed6e83458bee294c /lib/log.h
parent378deb2ebf5b34c053f212e14aa0c9d62c4bc85d (diff)
downloadquagga-0f1365093f448e9503b618a5097eb8d6433e7710.tar.bz2
quagga-0f1365093f448e9503b618a5097eb8d6433e7710.tar.xz
Trap SIGABRT so that get backtrace in the log.
Improve handling of notification objects, and the printing of same to the logs.
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 1894aff2..dda773ea 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -193,6 +193,9 @@ extern void zlog_signal(int signo, const char *action
#endif
);
+/* Ring down the curtain -- turn of SIGABRT handler and abort() */
+extern void zabort_abort(void) __attribute__ ((noreturn)) ;
+
/* Log a backtrace. */
extern void zlog_backtrace(int priority);