logging.c File Reference

Go to the source code of this file.

Functions

void bd_set_debug_handler (BD_LOG_FUNC f)
void bd_set_debug_mask (uint32_t mask)
uint32_t bd_get_debug_mask (void)
char * print_hex (char *out, const uint8_t *buf, int count)
void bd_debug (const char *file, int line, uint32_t mask, const char *format,...)

Variables

static debug_mask_t debug_mask = DBG_CRIT
static BD_LOG_FUNC log_func = NULL

Function Documentation

void bd_set_debug_handler ( BD_LOG_FUNC  f  ) 

Definition at line 31 of file logging.c.

void bd_set_debug_mask ( uint32_t  mask  ) 

Definition at line 36 of file logging.c.

uint32_t bd_get_debug_mask ( void   ) 

Definition at line 41 of file logging.c.

Referenced by _hdmv_trace_cmd(), and _hdmv_trace_res().

char* print_hex ( char *  out,
const uint8_t buf,
int  count 
)

Definition at line 46 of file logging.c.

void bd_debug ( const char *  file,
int  line,
uint32_t  mask,
const char *  format,
  ... 
)

Definition at line 56 of file logging.c.


Variable Documentation

debug_mask_t debug_mask = DBG_CRIT [static]

Definition at line 28 of file logging.c.

Referenced by bd_debug(), bd_get_debug_mask(), and bd_set_debug_mask().

BD_LOG_FUNC log_func = NULL [static]

Definition at line 29 of file logging.c.

Referenced by bd_debug(), and bd_set_debug_handler().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:48 2012 for MythTV by  doxygen 1.6.3