ia64/xen-unstable

view extras/mini-os/include/posix/syslog.h @ 18378:79d168323727

stubdom: add syslog functions

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 27 09:45:42 2008 +0100 (2008-08-27)
parents
children
line source
1 #ifndef _POSIX_SYSLOG_H
2 #define _POSIX_SYSLOG_H
4 #include <stdarg.h>
6 #define LOG_PID 0
7 #define LOG_CONS 0
8 #define LOG_NDELAY 0
9 #define LOG_ODELAY 0
10 #define LOG_NOWAIT 0
12 #define LOG_KERN 0
13 #define LOG_USER 0
14 #define LOG_MAIL 0
15 #define LOG_NEWS 0
16 #define LOG_UUCP 0
17 #define LOG_DAEMON 0
18 #define LOG_AUTH 0
19 #define LOG_CRON 0
20 #define LOG_LPR 0
22 /* TODO: support */
23 #define LOG_EMERG 0
24 #define LOG_ALERT 1
25 #define LOG_CRIT 2
26 #define LOG_ERR 3
27 #define LOG_WARNING 4
28 #define LOG_NOTICE 5
29 #define LOG_INFO 6
30 #define LOG_DEBUG 7
32 void openlog(const char *ident, int option, int facility);
33 void syslog(int priority, const char *format, ...);
34 void closelog(void);
35 void vsyslog(int priority, const char *format, va_list ap);
37 #endif /* _POSIX_SYSLOG_H */