tor
master
|
#include "orconfig.h"
#include "util_bug.h"
#include "torlog.h"
#include "backtrace.h"
#include "container.h"
Macros | |
#define | capturing_bugs() (0) |
#define | add_captured_bug(s) do { } while (0) |
Functions | |
void | tor_assertion_failed_ (const char *fname, unsigned int line, const char *func, const char *expr) |
void | tor_bug_occurred_ (const char *fname, unsigned int line, const char *func, const char *expr, int once) |
void tor_assertion_failed_ | ( | const char * | fname, |
unsigned int | line, | ||
const char * | func, | ||
const char * | expr | ||
) |
Helper for tor_assert: report the assertion failure.
void tor_bug_occurred_ | ( | const char * | fname, |
unsigned int | line, | ||
const char * | func, | ||
const char * | expr, | ||
int | once | ||
) |
Helper for tor_assert_nonfatal: report the assertion failure.