LibBeamApi  0.3.8
Classes | Macros | Functions | Variables
BDebug.h File Reference
#include <stdio.h>
#include <syslog.h>
#include <time.h>

Classes

class  BDebugBacktrace
 

Macros

#define BDebug_STD   0x000001
 
#define dprintf(level, fmt, a...)
 General debug functions. More...
 
#define nprintf(fmt, a...)   syslog(LOG_NOTICE, fmt, ##a)
 Warnings and errors logging. More...
 
#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
 

Macro Definition 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