X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=filters.h;h=6a68d9a234007e2579c779d6fa32aef51bafd0f8;hb=3e11c5ca1aaba55e8111281a18be6e6a6730ba06;hp=e84c9fb9131d087a03eaf8b8c4ea29ff7250ecee;hpb=ced7af21836d0e49074b20daa55bc0e7af49d7ed;p=privoxy.git diff --git a/filters.h b/filters.h index e84c9fb9..6a68d9a2 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.32 2008/02/23 16:33:43 fabiankeil Exp $" +#define FILTERS_H_VERSION "$Id: filters.h,v 1.34 2008/03/02 12:25:25 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/filters.h,v $ @@ -39,6 +39,13 @@ * * Revisions : * $Log: filters.h,v $ + * Revision 1.34 2008/03/02 12:25:25 fabiankeil + * Also use shiny new connect_port_is_forbidden() in jcc.c. + * + * Revision 1.33 2008/02/23 16:57:12 fabiankeil + * Rename url_actions() to get_url_actions() and let it + * use the standard parameter ordering. + * * Revision 1.32 2008/02/23 16:33:43 fabiankeil * Let forward_url() use the standard parameter ordering * and mark its second parameter immutable. @@ -301,6 +308,7 @@ extern int is_untrusted_url(const struct client_state *csp); #ifdef FEATURE_IMAGE_BLOCKING extern int is_imageurl(const struct client_state *csp); #endif /* def FEATURE_IMAGE_BLOCKING */ +extern int connect_port_is_forbidden(const struct client_state *csp); /* * Determining applicable actions @@ -330,7 +338,7 @@ extern char *get_last_url(char *subject, const char *redirect_mode); extern pcrs_job *compile_dynamic_pcrs_job_list(const struct client_state *csp, const struct re_filterfile_spec *b); -extern inline int content_filters_enabled(const struct client_state *csp); +extern int content_filters_enabled(const struct current_action_spec *action); /* * Handling Max-Forwards: