12 #ifndef TOR_UNPARSEABLE_H
13 #define TOR_UNPARSEABLE_H
21 #undef DEBUG_AREA_ALLOC
22 #ifdef DEBUG_AREA_ALLOC
23 #define DUMP_AREA(a,name) STMT_BEGIN \
24 size_t alloc=0, used=0; \
25 memarea_get_stats((a),&alloc,&used); \
26 log_debug(LD_MM, "Area for %s has %lu allocated; using %lu.", \
27 name, (unsigned long)alloc, (unsigned long)used); \
30 #define DUMP_AREA(a,name) STMT_NIL
33 #ifdef UNPARSEABLE_PRIVATE
52 (
const char *dirname,
const char *f));
#define MOCK_DECL(rv, funcname, arglist)
#define EXTERN(type, name)
Integer definitions used throughout Tor.
STATIC void dump_desc_populate_fifo_from_directory(const char *dirname)
STATIC smartlist_t * descs_dumped
STATIC dumped_desc_t * dump_desc_populate_one_file(const char *dirname, const char *f)
STATIC uint64_t len_descs_dumped
void dump_desc_fifo_cleanup(void)
void dump_desc(const char *desc, const char *type)
void dump_desc_init(void)