]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ipfilter/ipt.h
This commit was generated by cvs2svn to compensate for changes in r57429,
[FreeBSD/FreeBSD.git] / contrib / ipfilter / ipt.h
1 /*
2  * Copyright (C) 1993-1998 by Darren Reed.
3  *
4  * Redistribution and use in source and binary forms are permitted
5  * provided that this notice is preserved and due credit is given
6  * to the original author and the contributors.
7  * $Id: ipt.h,v 2.1 1999/08/04 17:30:08 darrenr Exp $
8  */
9
10 #ifndef __IPT_H__
11 #define __IPT_H__
12
13 #ifndef __P
14 # define P_DEF
15 # ifdef __STDC__
16 #  define       __P(x) x
17 # else
18 #  define       __P(x) ()
19 # endif
20 #endif
21
22 #include <fcntl.h>
23
24
25 struct  ipread  {
26         int     (*r_open) __P((char *));
27         int     (*r_close) __P((void));
28         int     (*r_readip) __P((char *, int, char **, int *));
29 };
30
31 extern  void    debug __P((char *, ...));
32 extern  void    verbose __P((char *, ...));
33
34 #ifdef P_DEF
35 # undef __P
36 # undef P_DEF
37 #endif
38
39 #endif /* __IPT_H__ */