summaryrefslogtreecommitdiff
path: root/sbin/ipf/facpri.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>1999-12-14 04:17:18 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>1999-12-14 04:17:18 +0000
commitd7490544c35fd00d5fa574f813e1a80638a69107 (patch)
tree5622e08b40efddbb6423f66ed3229d3f00d88fdd /sbin/ipf/facpri.h
parent9f37deb56afe80d3130c1317b569eaa08a5518ab (diff)
New ipfilter files. Preparing for merge of ipfilter 3.3.4.
Diffstat (limited to 'sbin/ipf/facpri.h')
-rw-r--r--sbin/ipf/facpri.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/sbin/ipf/facpri.h b/sbin/ipf/facpri.h
new file mode 100644
index 00000000000..1ca7ddd26f5
--- /dev/null
+++ b/sbin/ipf/facpri.h
@@ -0,0 +1,43 @@
+/* $OpenBSD: facpri.h,v 1.1 1999/12/14 04:17:17 kjell Exp $ */
+/*
+ * Copyright (C) 1999 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.
+ * $Id: facpri.h,v 1.1 1999/12/14 04:17:17 kjell 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__ */