xref: /NextBSD/contrib/ipfilter/lib/facpri.h (revision e1dd16d965b177f109afb771e59432e36f335d0a)
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 # ifdef	__STDC__
17 #  define	__P(x) x
18 # else
19 #  define	__P(x) ()
20 # endif
21 #endif
22 
23 extern	char	*fac_toname __P((int));
24 extern	int	fac_findname __P((char *));
25 
26 extern	char	*pri_toname __P((int));
27 extern	int	pri_findname __P((char *));
28 
29 #ifdef P_DEF
30 # undef	__P
31 # undef	P_DEF
32 #endif
33 
34 #if LOG_CRON == (9<<3)
35 # define	LOG_CRON1	LOG_CRON
36 # define	LOG_CRON2	(15<<3)
37 #endif
38 #if LOG_CRON == (15<<3)
39 # define	LOG_CRON1	(9<<3)
40 # define	LOG_CRON2	LOG_CRON
41 #endif
42 
43 #endif /* __FACPRI_H__ */
44