X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=filters.h;h=702d99f66a6a4b02f7297c5b91f07fb6d11c5baf;hb=84ed3dd57dd6f82b1c7909b1ee204a4198052d95;hp=be27370beab15da3973a15f26b01b16114000bf7;hpb=95a30d7f7a289d0f5261927639808e490330616c;p=privoxy.git diff --git a/filters.h b/filters.h index be27370b..702d99f6 100644 --- a/filters.h +++ b/filters.h @@ -1,6 +1,6 @@ #ifndef FILTERS_H_INCLUDED #define FILTERS_H_INCLUDED -#define FILTERS_H_VERSION "$Id: filters.h,v 1.23 2006/11/28 15:19:43 fabiankeil Exp $" +#define FILTERS_H_VERSION "$Id: filters.h,v 1.24 2006/12/29 18:30:46 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/filters.h,v $ @@ -39,6 +39,10 @@ * * Revisions : * $Log: filters.h,v $ + * Revision 1.24 2006/12/29 18:30:46 fabiankeil + * Fixed gcc43 conversion warnings, + * changed sprintf calls to snprintf. + * * Revision 1.23 2006/11/28 15:19:43 fabiankeil * Implemented +redirect{s@foo@bar@} to generate * a redirect based on a rewritten version of the @@ -256,10 +260,10 @@ extern struct http_response *trust_url(struct client_state *csp); * Request inspectors */ #ifdef FEATURE_TRUST -extern int is_untrusted_url(struct client_state *csp); +extern int is_untrusted_url(const struct client_state *csp); #endif /* def FEATURE_TRUST */ #ifdef FEATURE_IMAGE_BLOCKING -extern int is_imageurl(struct client_state *csp); +extern int is_imageurl(const struct client_state *csp); #endif /* def FEATURE_IMAGE_BLOCKING */ /*