1/* $FreeBSD: stable/11/contrib/ipfilter/lib/facpri.h 255332 2013-09-06 23:11:19Z cy $ */
|
1/* $FreeBSD: stable/11/contrib/ipfilter/lib/facpri.h 369186 2021-01-31 04:32:46Z cy $ */ |
2 3/* 4 * Copyright (C) 2012 by Darren Reed. 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 * 8 * $Id$ 9 */ 10 11#ifndef __FACPRI_H__ 12#define __FACPRI_H__ 13 14#ifndef __P 15# define P_DEF
|
16# ifdef __STDC__
|
16# define __P(x) x
|
18# else
19# define __P(x) ()
20# endif
|
17#endif 18 19extern char *fac_toname __P((int)); 20extern int fac_findname __P((char *)); 21 22extern char *pri_toname __P((int)); 23extern int pri_findname __P((char *)); 24 25#ifdef P_DEF 26# undef __P 27# undef P_DEF 28#endif 29 30#if LOG_CRON == (9<<3) 31# define LOG_CRON1 LOG_CRON 32# define LOG_CRON2 (15<<3) 33#endif 34#if LOG_CRON == (15<<3) 35# define LOG_CRON1 (9<<3) 36# define LOG_CRON2 LOG_CRON 37#endif 38 39#endif /* __FACPRI_H__ */
|