Tor  0.4.4.0-alpha-dev
Macros | Functions
unparseable.h File Reference

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)
 

Detailed Description

Header file for unparseable.c.

Definition in file unparseable.h.

Function Documentation

◆ dump_desc()

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.

◆ dump_desc_fifo_cleanup()

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().

◆ dump_desc_init()

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().