xref: /netbsd-src/external/bsd/ipf/dist/lib/facpri.h (revision 13885a665959c62f13a82b3caedf986eaa17aa31)
1 /*	$NetBSD: facpri.h,v 1.2 2012/07/22 14:27:36 darrenr Exp $	*/
2 
3 /*
4  * Copyright (C) 2012 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * Id: facpri.h,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $
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