xref: /illumos-gate/usr/src/cmd/ipf/lib/facpri.h (revision f3ac6781)
17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * Copyright (C) 1999-2001 by Darren Reed.
37c478bd9Sstevel@tonic-gate  *
47c478bd9Sstevel@tonic-gate  * See the IPFILTER.LICENCE file for details on licencing.
57c478bd9Sstevel@tonic-gate  *
67c478bd9Sstevel@tonic-gate  * $Id: facpri.h,v 1.3 2001/06/09 17:19:50 darrenr Exp $
77c478bd9Sstevel@tonic-gate  */
87c478bd9Sstevel@tonic-gate 
97c478bd9Sstevel@tonic-gate #ifndef	__FACPRI_H__
107c478bd9Sstevel@tonic-gate #define	__FACPRI_H__
117c478bd9Sstevel@tonic-gate 
127c478bd9Sstevel@tonic-gate #ifndef	__P
137c478bd9Sstevel@tonic-gate # define P_DEF
147c478bd9Sstevel@tonic-gate # ifdef	__STDC__
157c478bd9Sstevel@tonic-gate #  define	__P(x) x
167c478bd9Sstevel@tonic-gate # else
177c478bd9Sstevel@tonic-gate #  define	__P(x) ()
187c478bd9Sstevel@tonic-gate # endif
197c478bd9Sstevel@tonic-gate #endif
207c478bd9Sstevel@tonic-gate 
217c478bd9Sstevel@tonic-gate extern	char	*fac_toname __P((int));
227c478bd9Sstevel@tonic-gate extern	int	fac_findname __P((char *));
237c478bd9Sstevel@tonic-gate 
247c478bd9Sstevel@tonic-gate extern	char	*pri_toname __P((int));
257c478bd9Sstevel@tonic-gate extern	int	pri_findname __P((char *));
267c478bd9Sstevel@tonic-gate 
277c478bd9Sstevel@tonic-gate #ifdef P_DEF
287c478bd9Sstevel@tonic-gate # undef	__P
297c478bd9Sstevel@tonic-gate # undef	P_DEF
307c478bd9Sstevel@tonic-gate #endif
317c478bd9Sstevel@tonic-gate 
327c478bd9Sstevel@tonic-gate #if LOG_CRON == (9<<3)
337c478bd9Sstevel@tonic-gate # define	LOG_CRON1	LOG_CRON
347c478bd9Sstevel@tonic-gate # define	LOG_CRON2	(15<<3)
357c478bd9Sstevel@tonic-gate #endif
367c478bd9Sstevel@tonic-gate #if LOG_CRON == (15<<3)
377c478bd9Sstevel@tonic-gate # define	LOG_CRON1	(9<<3)
387c478bd9Sstevel@tonic-gate # define	LOG_CRON2	LOG_CRON
397c478bd9Sstevel@tonic-gate #endif
407c478bd9Sstevel@tonic-gate 
417c478bd9Sstevel@tonic-gate #endif /* __FACPRI_H__ */
42