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