aboutsummaryrefslogtreecommitdiff
path: root/src/lib/err/torerr.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-01 12:40:55 -0400
committerNick Mathewson <nickm@torproject.org>2018-11-05 09:22:02 -0500
commit175153a3290b3987faacac9d5390e87e1ad4a457 (patch)
treeffe76b1752c481a4e0b47aeb2c21adb58d38a179 /src/lib/err/torerr.h
parent6e7ff8cba0efaf803e3ef5b5aba4123633fe0658 (diff)
downloadtor-175153a3290b3987faacac9d5390e87e1ad4a457.tar.gz
tor-175153a3290b3987faacac9d5390e87e1ad4a457.zip
Make initialization for the "err" library into a subsystem.
Diffstat (limited to 'src/lib/err/torerr.h')
-rw-r--r--src/lib/err/torerr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/err/torerr.h b/src/lib/err/torerr.h
index d4bba6916f..b415ef73ef 100644
--- a/src/lib/err/torerr.h
+++ b/src/lib/err/torerr.h
@@ -39,6 +39,7 @@ void tor_raw_assertion_failed_msg_(const char *file, int line,
void tor_log_err_sigsafe(const char *m, ...);
int tor_log_get_sigsafe_err_fds(const int **out);
void tor_log_set_sigsafe_err_fds(const int *fds, int n);
+void tor_log_reset_sigsafe_err_fds(void);
void tor_log_sigsafe_err_set_granularity(int ms);
int format_hex_number_sigsafe(unsigned long x, char *buf, int max_len);