aboutsummaryrefslogtreecommitdiff
path: root/src/common/util_bug.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-08 13:27:30 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-08 13:27:30 -0400
commit3269307dafafa8c7c2c3e0be5d5c3cb5e7df3153 (patch)
treec44e2b743f72efa5eca1009675d0aac047310c7e /src/common/util_bug.h
parent6a1454aa462c7a1ef8d84fe703d4f28e727ca1c0 (diff)
downloadtor-3269307dafafa8c7c2c3e0be5d5c3cb5e7df3153.tar.gz
tor-3269307dafafa8c7c2c3e0be5d5c3cb5e7df3153.zip
Treat all nonfatal assertion failures as unit test failures.
Part of 19999.
Diffstat (limited to 'src/common/util_bug.h')
-rw-r--r--src/common/util_bug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util_bug.h b/src/common/util_bug.h
index 049ca1a6ef..8b69a47607 100644
--- a/src/common/util_bug.h
+++ b/src/common/util_bug.h
@@ -153,6 +153,7 @@ void tor_bug_occurred_(const char *fname, unsigned int line,
void tor_capture_bugs_(int n);
void tor_end_capture_bugs_(void);
const struct smartlist_t *tor_get_captured_bug_log_(void);
+void tor_set_failed_assertion_callback(void (*fn)(void));
#endif
#endif