]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ipfilter/lib/facpri.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ipfilter / lib / facpri.h
1 /*      $FreeBSD$       */
2
3 /*
4  * Copyright (C) 2000-2001 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * $Id: facpri.h,v 1.3.4.1 2006/06/16 17:20:58 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__ */