File: syslog.h

package info (click to toggle)
bootp 2.4.3-21.2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 924 kB
  • sloc: ansic: 11,453; makefile: 379; sh: 55
file content (25 lines) | stat: -rw-r--r-- 816 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Fake syslog.h for systems without it  (just defines priorities).
 * To use this, compile with: -I/usr/include -I.
 */

/*
 * Copyright (c) 1982, 1986 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 */

/*
 *  Priorities (these are ordered)
 */
#define LOG_EMERG	0	/* system is unusable */
#define LOG_ALERT	1	/* action must be taken immediately */
#define LOG_CRIT	2	/* critical conditions */
#define LOG_ERR		3	/* error conditions */
#define LOG_WARNING	4	/* warning conditions */
#define LOG_NOTICE	5	/* normal but signification condition */
#define LOG_INFO	6	/* informational */
#define LOG_DEBUG	7	/* debug-level messages */

/* XXX - Just in case: */
#define openlog fake_syslog_openlog