X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=project.h;h=d87e4ef0b76c11febe02f3423eaf32c0ec503efc;hb=2966c5c92e16a7c3590da40a9be4741eec62c80b;hp=0b503b130d1f0deba3175d2f95ee7a4637dacace;hpb=3e11c5ca1aaba55e8111281a18be6e6a6730ba06;p=privoxy.git diff --git a/project.h b/project.h index 0b503b13..d87e4ef0 100644 --- a/project.h +++ b/project.h @@ -1,7 +1,7 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED /** Version string. */ -#define PROJECT_H_VERSION "$Id: project.h,v 1.114 2008/04/11 16:35:39 fabiankeil Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.115 2008/05/19 16:57:20 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -37,6 +37,9 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.115 2008/05/19 16:57:20 fabiankeil + * Declare all members of the parsers structure immutable. + * * Revision 1.114 2008/04/11 16:35:39 fabiankeil * Oops, I forgot to shorten the URL_SPEC_INITIALIZER in my last commit. * @@ -1407,22 +1410,6 @@ typedef jb_err (*add_header_func_ptr)(struct client_state *); typedef jb_err (*parser_func_ptr )(struct client_state *, char **); -/** - * List of functions to run on a list of headers - */ -struct parsers -{ - /** The header prefix to match */ - const char *str; - - /** The length of the prefix to match */ - const size_t len; - - /** The function to apply to this line */ - const parser_func_ptr parser; -}; - - /** * List of available CGI functions. */