diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-02 02:57:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:13 -0500 |
commit | edbfc0f6e70150e321822365bf0eead2821551bd (patch) | |
tree | 38164393e1f9b5225662453fb6253947e7fdc086 /source4/include/system/syslog.h | |
parent | 452ddd94ba22bebe0fda5ee6a7ddceae2057fe40 (diff) | |
download | samba-edbfc0f6e70150e321822365bf0eead2821551bd.tar.gz samba-edbfc0f6e70150e321822365bf0eead2821551bd.tar.bz2 samba-edbfc0f6e70150e321822365bf0eead2821551bd.zip |
r3453: - split out the auth and popt includes
- tidied up some of the system includes
- moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl
knows about inter-IDL dependencies
(This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
Diffstat (limited to 'source4/include/system/syslog.h')
-rw-r--r-- | source4/include/system/syslog.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source4/include/system/syslog.h b/source4/include/system/syslog.h index 7fcb87784b..7182e2e2d6 100644 --- a/source4/include/system/syslog.h +++ b/source4/include/system/syslog.h @@ -28,3 +28,36 @@ #endif #endif +/* For sys_adminlog(). */ +#ifndef LOG_EMERG +#define LOG_EMERG 0 /* system is unusable */ +#endif + +#ifndef LOG_ALERT +#define LOG_ALERT 1 /* action must be taken immediately */ +#endif + +#ifndef LOG_CRIT +#define LOG_CRIT 2 /* critical conditions */ +#endif + +#ifndef LOG_ERR +#define LOG_ERR 3 /* error conditions */ +#endif + +#ifndef LOG_WARNING +#define LOG_WARNING 4 /* warning conditions */ +#endif + +#ifndef LOG_NOTICE +#define LOG_NOTICE 5 /* normal but significant condition */ +#endif + +#ifndef LOG_INFO +#define LOG_INFO 6 /* informational */ +#endif + +#ifndef LOG_DEBUG +#define LOG_DEBUG 7 /* debug-level messages */ +#endif + |