Ring Daemon 16.0.0
|
Go to the source code of this file.
Macros | |
#define | strerror_r(errno, buf, len) strerror_s(buf, len, errno) |
#define | WIN32_LEAN_AND_MEAN 1 |
#define | WINLOG_AUTH (4 << 3) |
#define | WINLOG_AUTHPRIV (10 << 3) |
#define | WINLOG_CONS 0x02 /* log on the console if errors in sending */ |
#define | WINLOG_CRON (9 << 3) |
#define | WINLOG_DAEMON (3 << 3) |
#define | WINLOG_FAC(p) (((p) &WINLOG_FACMASK) >> 3) |
#define | WINLOG_FACMASK 0x03f8 |
#define | WINLOG_KERN (0 << 3) |
#define | WINLOG_LPR (6 << 3) |
#define | WINLOG_MAIL (2 << 3) |
#define | WINLOG_MAKEPRI(fac, pri) (((fac) << 3) | (pri)) |
#define | WINLOG_MASK(pri) (1 << (pri)) |
#define | WINLOG_NDELAY 0x08 /* don't delay open */ |
#define | WINLOG_NEWS (7 << 3) |
#define | WINLOG_NFACILITIES 10 |
#define | WINLOG_NOWAIT 0x10 /* don't wait for console forks: DEPRECATED */ |
#define | WINLOG_ODELAY 0x04 /* delay open until first syslog() (default) */ |
#define | WINLOG_PERROR 0x20 /* log to stderr as well */ |
#define | WINLOG_PID 0x01 /* log the pid with each message */ |
#define | WINLOG_PRI(p) ((p) &WINLOG_PRIMASK) |
#define | WINLOG_PRIMASK 0x07 |
#define | WINLOG_SYSLOG (5 << 3) |
#define | WINLOG_UPTO(pri) ((1 << ((pri) + 1)) - 1) |
#define | WINLOG_USER (1 << 3) |
#define | WINLOG_UUCP (8 << 3) |
Functions | |
void | closelog (void) |
void | openlog (const char *, int, int) |
void | syslog (int, const char *,...) |
#define strerror_r | ( | errno, | |
buf, | |||
len | |||
) | strerror_s(buf, len, errno) |
Definition at line 65 of file winsyslog.h.
#define WIN32_LEAN_AND_MEAN 1 |
Definition at line 24 of file winsyslog.h.
#define WINLOG_AUTH (4 << 3) |
Definition at line 37 of file winsyslog.h.
#define WINLOG_AUTHPRIV (10 << 3) |
Definition at line 43 of file winsyslog.h.
#define WINLOG_CONS 0x02 /* log on the console if errors in sending */ |
Definition at line 59 of file winsyslog.h.
#define WINLOG_CRON (9 << 3) |
Definition at line 42 of file winsyslog.h.
#define WINLOG_DAEMON (3 << 3) |
Definition at line 36 of file winsyslog.h.
#define WINLOG_FAC | ( | p | ) | (((p) &WINLOG_FACMASK) >> 3) |
Definition at line 47 of file winsyslog.h.
#define WINLOG_FACMASK 0x03f8 |
Definition at line 46 of file winsyslog.h.
#define WINLOG_KERN (0 << 3) |
Definition at line 33 of file winsyslog.h.
#define WINLOG_LPR (6 << 3) |
Definition at line 39 of file winsyslog.h.
#define WINLOG_MAIL (2 << 3) |
Definition at line 35 of file winsyslog.h.
#define WINLOG_MAKEPRI | ( | fac, | |
pri | |||
) | (((fac) << 3) | (pri)) |
Definition at line 31 of file winsyslog.h.
#define WINLOG_MASK | ( | pri | ) | (1 << (pri)) |
Definition at line 49 of file winsyslog.h.
#define WINLOG_NDELAY 0x08 /* don't delay open */ |
Definition at line 61 of file winsyslog.h.
#define WINLOG_NEWS (7 << 3) |
Definition at line 40 of file winsyslog.h.
#define WINLOG_NFACILITIES 10 |
Definition at line 45 of file winsyslog.h.
#define WINLOG_NOWAIT 0x10 /* don't wait for console forks: DEPRECATED */ |
Definition at line 62 of file winsyslog.h.
#define WINLOG_ODELAY 0x04 /* delay open until first syslog() (default) */ |
Definition at line 60 of file winsyslog.h.
#define WINLOG_PERROR 0x20 /* log to stderr as well */ |
Definition at line 63 of file winsyslog.h.
#define WINLOG_PID 0x01 /* log the pid with each message */ |
Definition at line 58 of file winsyslog.h.
#define WINLOG_PRI | ( | p | ) | ((p) &WINLOG_PRIMASK) |
Definition at line 30 of file winsyslog.h.
#define WINLOG_PRIMASK 0x07 |
Definition at line 28 of file winsyslog.h.
#define WINLOG_SYSLOG (5 << 3) |
Definition at line 38 of file winsyslog.h.
#define WINLOG_UPTO | ( | pri | ) | ((1 << ((pri) + 1)) - 1) |
Definition at line 50 of file winsyslog.h.
#define WINLOG_USER (1 << 3) |
Definition at line 34 of file winsyslog.h.
#define WINLOG_UUCP (8 << 3) |
Definition at line 41 of file winsyslog.h.
|
extern |
|
extern |
Referenced by jami::SysLog::SysLog().
|
extern |
Referenced by jami::SysLog::consume().