[BACK]Return to facpri.h CVS log [TXT][DIR] Up to [local] / src / sbin / ipf

File: [local] / src / sbin / ipf / Attic / facpri.h (download)

Revision 1.5, Wed Jan 17 05:00:58 2001 UTC (23 years, 4 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +2 -2 lines

1st part of ipf userland code.

/*	$OpenBSD: facpri.h,v 1.5 2001/01/17 05:00:58 fgsch Exp $	*/

/*
 * Copyright (C) 1999-2000 by Darren Reed.
 *
 * Redistribution and use in source and binary forms are permitted
 * provided that this notice is preserved and due credit is given
 * to the original author and the contributors.
 * $IPFilter: facpri.h,v 1.3 2000/03/13 22:10:18 darrenr Exp $
 */

#ifndef	__FACPRI_H__
#define	__FACPRI_H__

#ifndef	__P
# define P_DEF
# ifdef	__STDC__
#  define	__P(x) x
# else
#  define	__P(x) ()
# endif
#endif

extern	char	*fac_toname __P((int));
extern	int	fac_findname __P((char *));

extern	char	*pri_toname __P((int));
extern	int	pri_findname __P((char *));

#ifdef P_DEF
# undef	__P
# undef	P_DEF
#endif

#if LOG_CRON == (9<<3)
# define	LOG_CRON1	LOG_CRON
# define	LOG_CRON2	(15<<3)
#endif
#if LOG_CRON == (15<<3)
# define	LOG_CRON1	(9<<3)
# define	LOG_CRON2	LOG_CRON
#endif

#endif /* __FACPRI_H__ */