Added a copyright for James E. Flemer since these are his changes.

(filter_init): Added code to handle both host and URLs.  Also include code to use extended regular expressions.
(filter_domain): The old filter_url function has been renamed filter_domain().
(filter_url): This function now actually filters complete URLs.
This commit is contained in:
Robert James Kaes committed 2002-05-27 01:56:22 +00:00
1 parent 026c7d9a3d
commit b11015c2e1
2 files changed
+61 -17

No files matched your search

+3 -2
View File
@@ -1,4 +1,4 @@
/* $Id: filter.h,v 1.3 2000-11-23 04:46:25 rjkaes Exp $
/* $Id: filter.h,v 1.4 2002-05-27 01:56:22 rjkaes Exp $
*
* See 'filter.c' for a detailed description.
*
@@ -20,6 +20,7 @@
extern void filter_init(void);
extern void filter_destroy(void);
extern int filter_url(char *host);
extern int filter_domain(const char *host);
extern int filter_url(const char *url);
#endif