mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 23:52:30 +01:00
This meant moving a fair bit of code around, and writing a signal cleanup function. Still pretty nice from what I can tell, though.
12 lines
311 B
C
12 lines
311 B
C
/* Copyright (c) 2013, The Tor Project, Inc. */
|
|
/* See LICENSE for licensing information */
|
|
|
|
#ifndef TOR_BACKTRACE_H
|
|
#define TOR_BACKTRACE_H
|
|
|
|
void log_backtrace(int severity, int domain, const char *msg);
|
|
int configure_backtrace_handler(const char *tor_version);
|
|
void clean_up_backtrace_handler(void);
|
|
|
|
#endif
|
|
|