#ifndef __SYSLOG_H
#define __SYSLOG_H
extern void openlog(char *, int, int);
extern void closelog(void);
extern void syslog(int, char *, ...);
enum {
LOG_AUTH,
LOG_CRIT,
LOG_DAEMON,
LOG_DEBUG,
LOG_ERR,
LOG_INFO,
LOG_LOCAL0,
LOG_LOCAL1,
LOG_LOCAL2,
LOG_LOCAL3,
LOG_LOCAL4,
LOG_LOCAL5,
LOG_LOCAL6,
LOG_LOCAL7,
LOG_PID,
LOG_USER,
};
#endif
|