BDebug.h File Reference

#include <stdio.h>
#include <syslog.h>
#include <time.h>

Classes

class  BDebugBacktrace

Defines

#define BDebug_STD   0x000001
#define dprintf(level, fmt, a...)
 General debug functions.
#define nprintf(fmt, a...)   syslog(LOG_NOTICE, fmt, ##a)
 Warnings and errors logging.
#define wprintf(fmt, a...)   syslog(LOG_WARNING, fmt, ##a)
#define eprintf(fmt, a...)   syslog(LOG_ERR, fmt, ##a)

Functions

void hd8 (void *data, unsigned int n)
void hd8a (void *data, unsigned int n)
void hda8 (void *data, unsigned int n)
void hd32 (void *data, unsigned int n)
void hds32 (void *data, unsigned int n)
double getTime ()
void setDebug (int debug)
void tprintf (int log, const char *fmt,...)
pid_t gettid ()

Variables

int bdebug

Define Documentation

#define BDebug_STD   0x000001

#define dprintf ( level,
fmt,
a...   ) 

General debug functions.

#define eprintf ( fmt,
a...   )     syslog(LOG_ERR, fmt, ##a)

#define nprintf ( fmt,
a...   )     syslog(LOG_NOTICE, fmt, ##a)

Warnings and errors logging.

#define wprintf ( fmt,
a...   )     syslog(LOG_WARNING, fmt, ##a)


Function Documentation

pid_t gettid (  ) 

double getTime (  ) 

void hd32 ( void *  data,
unsigned int  n 
)

void hd8 ( void *  data,
unsigned int  n 
)

void hd8a ( void *  data,
unsigned int  n 
)

void hda8 ( void *  data,
unsigned int  n 
)

void hds32 ( void *  data,
unsigned int  n 
)

void setDebug ( int  debug  ) 

void tprintf ( int  log,
const char *  fmt,
  ... 
)


Variable Documentation

int bdebug


Generated on Mon Jun 21 11:49:05 2010 for LibBeamApi by  doxygen 1.4.7