Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / ipf / ipt.h
blob357e46cb9eb0351207f19676059c5e3c44b4ed19
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 1993-2001 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * Id: ipt.h,v 2.6.4.2 2006/03/26 23:42:04 darrenr Exp
9 */
11 #ifndef __IPT_H__
12 #define __IPT_H__
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
23 #include <fcntl.h>
26 struct ipread {
27 int (*r_open) __P((char *));
28 int (*r_close) __P((void));
29 int (*r_readip) __P((char *, int, char **, int *));
30 int r_flags;
33 #define R_DO_CKSUM 0x01
35 extern void debug __P((char *, ...));
36 extern void verbose __P((char *, ...));
38 #ifdef P_DEF
39 # undef __P
40 # undef P_DEF
41 #endif
43 #endif /* __IPT_H__ */