ipt.h revision 80486
1/* 2 * Copyright (C) 1993-2001 by Darren Reed. 3 * 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 */ 7 8#ifndef __IPT_H__ 9#define __IPT_H__ 10 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 19 20#include <fcntl.h> 21 22 23struct ipread { 24 int (*r_open) __P((char *)); 25 int (*r_close) __P((void)); 26 int (*r_readip) __P((char *, int, char **, int *)); 27}; 28 29extern void debug __P((char *, ...)); 30extern void verbose __P((char *, ...)); 31 32#ifdef P_DEF 33# undef __P 34# undef P_DEF 35#endif 36 37#endif /* __IPT_H__ */ 38