X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=filters.h;h=70643883e89558be3e56b56d57e0b5663724c86b;hp=68af5195b1244657d648a6ab42f917600951a19a;hb=2d3a5943ff38550fd73e6b5b29ac561b2a9be2cd;hpb=c75584ebcc79f939fb4ec9c8f842cef6692640c7 diff --git a/filters.h b/filters.h index 68af5195..70643883 100644 --- a/filters.h +++ b/filters.h @@ -1,14 +1,14 @@ #ifndef _FILTERS_H #define _FILTERS_H -#define FILTERS_H_VERSION "$Id: filters.h,v 1.1 2001/05/13 21:57:06 administrator Exp $" +#define FILTERS_H_VERSION "$Id: filters.h,v 1.2 2001/05/20 01:21:20 jongfoster Exp $" /********************************************************************* * - * File : $Source: /home/administrator/cvs/ijb/filters.h,v $ + * File : $Source: /cvsroot/ijbswa/current/filters.h,v $ * * Purpose : Declares functions to parse/crunch headers and pages. * Functions declared include: * `acl_addr', `add_stats', `block_acl', `block_imageurl', - * `block_url', `cookie_url', `domaincmp', `dsplit', + * `block_url', `url_permissions', `domaincmp', `dsplit', * `filter_popups', `forward_url' * `ij_untrusted_url', `intercept_url', `re_process_buffer', * `show_proxy_args', and `trust_url' @@ -40,9 +40,25 @@ * * Revisions : * $Log: filters.h,v $ + * Revision 1.2 2001/05/20 01:21:20 jongfoster + * Version 2.9.4 checkin. + * - Merged popupfile and cookiefile, and added control over PCRS + * filtering, in new "permissionsfile". + * - Implemented LOG_LEVEL_FATAL, so that if there is a configuration + * file error you now get a message box (in the Win32 GUI) rather + * than the program exiting with no explanation. + * - Made killpopup use the PCRS MIME-type checking and HTTP-header + * skipping. + * - Removed tabs from "config" + * - Moved duplicated url parsing code in "loaders.c" to a new funcition. + * - Bumped up version number. + * + * Revision 1.1.1.1 2001/05/15 13:58:52 oes + * Initial import of version 2.9.3 source tree + * * *********************************************************************/ - + #include "project.h" @@ -60,6 +76,7 @@ extern char *block_url(struct http_request *http, struct client_state *csp); extern char *trust_url(struct http_request *http, struct client_state *csp); #endif /* def TRUST_FILES */ extern char *intercept_url(struct http_request *http, struct client_state *csp); +extern char *redirect_url(struct http_request *http, struct client_state *csp); #if defined(DETECT_MSIE_IMAGES) || defined(USE_IMAGE_LIST) extern int block_imageurl(struct http_request *http, struct client_state *csp); @@ -69,13 +86,14 @@ extern int block_imageurl(struct http_request *http, struct client_state *csp); extern int block_imageurl_using_imagelist(struct http_request *http, struct client_state *csp); #endif /* def USE_IMAGE_LIST */ -extern struct cookie_spec *cookie_url(struct http_request *http, struct client_state *csp); +extern int url_permissions(struct http_request *http, struct client_state *csp); extern const struct gateway *forward_url(struct http_request *http, struct client_state *csp); extern struct url_spec dsplit(char *domain); extern int domaincmp(struct url_spec *pattern, struct url_spec *fqdn); extern char *show_proxy_args(struct http_request *http, struct client_state *csp); +extern char *ijb_send_banner(struct http_request *http, struct client_state *csp); #ifdef TRUST_FILES extern char *ij_untrusted_url(struct http_request *http, struct client_state *csp);