1#ifndef SYSLOG_H
2#define SYSLOG_H
34
#define LOG_PID 0x01
56
#define LOG_EMERG 0
7#define LOG_ALERT 1
8#define LOG_CRIT 2
9#define LOG_ERR 3
10#define LOG_WARNING 4
11#define LOG_NOTICE 5
12#define LOG_INFO 6
13#define LOG_DEBUG 7
1415
#define LOG_DAEMON (3<<3)
1617
void openlog(const char *ident, int logopt, int facility);
18void syslog(int priority, const char *fmt, ...);
1920
#endif /* SYSLOG_H */