Tor 0.4.9.1-alpha-dev
|
Header file for unparseable.c. More...
#include "lib/cc/torint.h"
Go to the source code of this file.
Macros | |
#define | DUMP_AREA(a, name) STMT_NIL |
Functions | |
void | dump_desc (const char *desc, const char *type) |
void | dump_desc_fifo_cleanup (void) |
void | dump_desc_init (void) |
Header file for unparseable.c.
Definition in file unparseable.h.
Definition at line 30 of file unparseable.h.
void dump_desc | ( | const char * | desc, |
const char * | type | ||
) |
For debugging purposes, dump unparseable descriptor *desc of type *type to file $DATADIR/unparseable-desc. Do not write more than one descriptor to disk per minute. If there is already such a file in the data directory, overwrite it.
Definition at line 496 of file unparseable.c.
void dump_desc_fifo_cleanup | ( | void | ) |
Clean up on exit; just memory, leave the dumps behind
Definition at line 239 of file unparseable.c.
Referenced by routerparse_free_all().
void dump_desc_init | ( | void | ) |
Find the dump directory and check if we'll be able to create it
Definition at line 38 of file unparseable.c.
Referenced by routerparse_init().