Home | History | Annotate | Download | only in include
      1 #ifndef SYSLOG_H
      2 #define SYSLOG_H
      3 
      4 int syslog();
      5 
      6 #define LOG_INFO	0x1
      7 #define LOG_ERROR	0x2
      8 #define LOG_WARN	0x4
      9 
     10 #define LOG_NDELAY	0x1
     11 #define LOG_NOWAIT	0x2
     12 #define LOG_PID		0x4
     13 #define LOG_USER	0x8
     14 
     15 void closelog(void);
     16 void openlog(const char *ident, int logopt, int facility);
     17 
     18 #endif /* SYSLOG_H */
     19