xref: /freebsd/sbin/ipf/libipf/facpri.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1 
2 /*
3  * Copyright (C) 2012 by Darren Reed.
4  *
5  * See the IPFILTER.LICENCE file for details on licencing.
6  *
7  * $Id$
8  */
9 
10 #ifndef	__FACPRI_H__
11 #define	__FACPRI_H__
12 
13 #ifndef	__P
14 # define P_DEF
15 #  define	__P(x) x
16 #endif
17 
18 extern	char	*fac_toname(int);
19 extern	int	fac_findname(char *);
20 
21 extern	char	*pri_toname(int);
22 extern	int	pri_findname(char *);
23 
24 #ifdef P_DEF
25 # undef	__P
26 # undef	P_DEF
27 #endif
28 
29 #if LOG_CRON == (9<<3)
30 # define	LOG_CRON1	LOG_CRON
31 # define	LOG_CRON2	(15<<3)
32 #endif
33 #if LOG_CRON == (15<<3)
34 # define	LOG_CRON1	(9<<3)
35 # define	LOG_CRON2	LOG_CRON
36 #endif
37 
38 #endif /* __FACPRI_H__ */
39