blob: b995faf88e228c1663c114e6754b30b342cb1502 (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/* Syslog constants.
Copyright (C) 2011-2018 Sergey Poznyakoff
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
module 'syslog'.
/* This prefix will be prepended to each const identifier below when
creating a corresponding C define. */
#prefix _MFL_
const LOG_EMERG 0
const LOG_ALERT 1
const LOG_CRIT 2
const LOG_ERR 3
const LOG_WARNING 4
const LOG_NOTICE 5
const LOG_INFO 6
const LOG_DEBUG 7
const LOG_PRIMASK 0x07
const LOG_KERN 0
const LOG_USER (1<<3)
const LOG_MAIL (2<<3)
const LOG_DAEMON (3<<3)
const LOG_AUTH (4<<3)
const LOG_SYSLOG (5<<3)
const LOG_LPR (6<<3)
const LOG_NEWS (7<<3)
const LOG_UUCP (8<<3)
const LOG_CRON (9<<3)
const LOG_AUTHPRIV (10<<3)
const LOG_FTP (11<<3)
const LOG_LOCAL0 (16<<3)
const LOG_LOCAL1 (17<<3)
const LOG_LOCAL2 (18<<3)
const LOG_LOCAL3 (19<<3)
const LOG_LOCAL4 (20<<3)
const LOG_LOCAL5 (21<<3)
const LOG_LOCAL6 (22<<3)
const LOG_LOCAL7 (23<<3)
|