xref: /titanic_50/usr/src/cmd/ipf/lib/common/facpri.h (revision 1bdd6c0e3710e91cb1f31aa78de33cb638494480)
1 /*
2  * Copyright (C) 1999-2001 by Darren Reed.
3  *
4  * See the IPFILTER.LICENCE file for details on licencing.
5  *
6  * $Id: facpri.h,v 1.3 2001/06/09 17:19:50 darrenr Exp $
7  */
8 
9 #ifndef	__FACPRI_H__
10 #define	__FACPRI_H__
11 
12 #ifndef	__P
13 # define P_DEF
14 # ifdef	__STDC__
15 #  define	__P(x) x
16 # else
17 #  define	__P(x) ()
18 # endif
19 #endif
20 
21 extern	char	*fac_toname __P((int));
22 extern	int	fac_findname __P((char *));
23 
24 extern	char	*pri_toname __P((int));
25 extern	int	pri_findname __P((char *));
26 
27 #ifdef P_DEF
28 # undef	__P
29 # undef	P_DEF
30 #endif
31 
32 #if LOG_CRON == (9<<3)
33 # define	LOG_CRON1	LOG_CRON
34 # define	LOG_CRON2	(15<<3)
35 #endif
36 #if LOG_CRON == (15<<3)
37 # define	LOG_CRON1	(9<<3)
38 # define	LOG_CRON2	LOG_CRON
39 #endif
40 
41 #endif /* __FACPRI_H__ */
42