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