Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > c67614878826b4852b4141337f025dd6 > files > 51

clement-debug-2.1-0.133.4mdv2009.0.i586.rpm

/************************************************/
/*						*/
/*      Copyright:				*/
/*		 Jean-Marc Pigeon <jmp@safe.ca>	*/
/*	Distributed under the Gnu Public	*/
/*	License, see the License file in this	*/
/*	package.				*/
/*						*/
/*	Define module level routines to handle	*/
/*	ip number list and retreiving.		*/
/*						*/
/************************************************/
#ifndef UNINET
#define UNINET

typedef	struct {	/*IP/MASK def		*/
	u_int32_t ip;	/*HOST/NET IP address	*/
	int mask;	/*IP Network MASK	*/
	}IPTYP;

extern IPTYP **net_addiplst(IPTYP **iplst,char *info);
extern IPTYP **net_mkiplst(char **filelst,IPTYP **iplst,time_t lastload);
extern IPTYP **net_freeiplst(IPTYP **iplst);
extern int net_isiniplst(IPTYP **iplst,char *iporgn);
#endif