#include <stdio.h>
#include <syslog.h>
#include <time.h>
|
#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) |
|
|
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 () |
|
◆ BDebug_STD
#define BDebug_STD 0x000001 |
◆ dprintf
#define dprintf | ( | | level, |
| | | fmt, |
| | | a... |
| ) | | |
◆ eprintf
#define eprintf | ( | | fmt, |
| | | a... |
| ) | | syslog(LOG_ERR, fmt, ##a) |
◆ nprintf
#define nprintf | ( | | fmt, |
| | | a... |
| ) | | syslog(LOG_NOTICE, fmt, ##a) |
Warnings and errors logging.
◆ wprintf
#define wprintf | ( | | fmt, |
| | | a... |
| ) | | syslog(LOG_WARNING, fmt, ##a) |
◆ gettid()
◆ getTime()
◆ hd32()
void hd32 | ( | void * | data, |
| | unsigned int | n |
| ) | | |
◆ hd8()
void hd8 | ( | void * | data, |
| | unsigned int | n |
| ) | | |
◆ hd8a()
void hd8a | ( | void * | data, |
| | unsigned int | n |
| ) | | |
◆ hda8()
void hda8 | ( | void * | data, |
| | unsigned int | n |
| ) | | |
◆ hds32()
void hds32 | ( | void * | data, |
| | unsigned int | n |
| ) | | |
◆ setDebug()
void setDebug | ( | int | debug | ) | |
◆ tprintf()
void tprintf | ( | int | log, |
| | const char * | fmt, |
| | | ... |
| ) | | |
◆ bdebug