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