diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-18 06:26:26 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-18 06:26:26 +0000 |
commit | d360daade3092325ef5f52ce3c47dcf0c8203420 (patch) | |
tree | e5b68dd2438d5cfa38e6e8ce86141eab5649ffd4 /apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/ipfilter.h | |
parent | ed67745cca9e57fed8a39610d930a9d6fda6fa44 (diff) | |
download | ATCD-d360daade3092325ef5f52ce3c47dcf0c8203420.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-0_2_52'.TAO-0_2_52
Diffstat (limited to 'apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/ipfilter.h')
-rw-r--r-- | apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/ipfilter.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/ipfilter.h b/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/ipfilter.h deleted file mode 100644 index a5d490798c3..00000000000 --- a/apps/JAWS/clients/WebSTONE/src/nsapi-includes/frame/ipfilter.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 1994, 1995. Netscape Communications Corporation. All - * rights reserved. - * - * Use of this software is governed by the terms of the license agreement for - * the Netscape Communications or Netscape Comemrce Server between the - * parties. - */ - - -/* ------------------------------------------------------------------------ */ - - -#ifndef __ipfilter_h -#define __ipfilter_h - -/* Define error codes */ -#define IPFERR_MAX (-1) /* maximum error code value */ -#define IPFERR_MALLOC (-1) /* insufficient memory */ -#define IPFERR_FOPEN (-2) /* file open error */ -#define IPFERR_FILEIO (-3) /* file I/O error */ -#define IPFERR_DUPSPEC (-4) /* duplicate filter specification */ -#define IPFERR_INTERR (-5) /* internal error (bug) */ -#define IPFERR_SYNTAX (-6) /* syntax error in filter file */ -#define IPFERR_CNFLICT (-7) /* conflicting filter specification */ -#define IPFERR_MIN (-7) /* minimum error code value */ - -/* Define a scalar IP address value */ -typedef unsigned long IPAddr_t; - -/* Define structure for returning error information */ -typedef struct IPFilterErr_s IPFilterErr_t; -struct IPFilterErr_s { - int errNo; /* IPFERR_xxxx error code */ - int lineno; /* file line number, if applicable */ - char * filename; /* filename, if applicable */ - char * errstr; /* error text, if any */ -}; - -/* Data and functions in ipfilter.c */ -extern void * ipf_objndx; -extern void ip_filter_destroy(void * ipfptr); -extern int ip_filter_setup(pblock * client, IPFilterErr_t * reterr); -extern int ip_filter_check(pblock * client, IPAddr_t cip); - -#endif /* __ipfilter_h */ |