Merge branch 'master' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / contrib / ipfilter / ipt.h
blob677c74aff7e3c01ef7787fde899913e6aeeab690
1 /*
2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
5 * $Id: ipt.h,v 2.2.2.1 2001/06/26 10:43:19 darrenr Exp $
6 */
8 #ifndef __IPT_H__
9 #define __IPT_H__
11 #ifndef __P
12 # define P_DEF
13 # ifdef __STDC__
14 # define __P(x) x
15 # else
16 # define __P(x) ()
17 # endif
18 #endif
20 #include <fcntl.h>
23 struct ipread {
24 int (*r_open) __P((char *));
25 int (*r_close) __P((void));
26 int (*r_readip) __P((char *, int, char **, int *));
29 extern void debug __P((char *, ...));
30 extern void verbose __P((char *, ...));
32 #ifdef P_DEF
33 # undef __P
34 # undef P_DEF
35 #endif
37 #endif /* __IPT_H__ */