X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=parsers.h;h=7e77678e270f57ee6bfeb22aec3f12cc5bbc172a;hp=bc2a6b6028a3d748ad0b2782a5cfd5847bf4603e;hb=062c2d7a59739c3bd24b29322cb49044f92e9aa7;hpb=c10f86ba56d0b81399e618c925f89370edfd9f24 diff --git a/parsers.h b/parsers.h index bc2a6b60..7e77678e 100644 --- a/parsers.h +++ b/parsers.h @@ -1,6 +1,6 @@ #ifndef PARSERS_H_INCLUDED #define PARSERS_H_INCLUDED -#define PARSERS_H_VERSION "$Id: parsers.h,v 1.45 2008/05/20 20:13:30 fabiankeil Exp $" +#define PARSERS_H_VERSION "$Id: parsers.h,v 1.47 2008/05/21 20:12:11 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.h,v $ @@ -43,6 +43,15 @@ * * Revisions : * $Log: parsers.h,v $ + * Revision 1.47 2008/05/21 20:12:11 fabiankeil + * The whole point of strclean() is to modify the + * first parameter, so don't mark it immutable, + * even though the compiler lets us get away with it. + * + * Revision 1.46 2008/05/21 15:47:14 fabiankeil + * Streamline sed()'s prototype and declare + * the header parse and add structures static. + * * Revision 1.45 2008/05/20 20:13:30 fabiankeil * Factor update_server_headers() out of sed(), ditch the * first_run hack and make server_patterns_light static. @@ -288,15 +297,13 @@ extern void get_http_time(int time_offset, char *buf, size_t buffer_size); extern jb_err get_destination_from_headers(const struct list *headers, struct http_request *http); #ifdef FEATURE_FORCE_LOAD -extern int strclean(const char *string, const char *substring); +extern int strclean(char *string, const char *substring); #endif /* def FEATURE_FORCE_LOAD */ /* Revision control strings from this header and associated .c file */ extern const char parsers_rcs[]; extern const char parsers_h_rcs[]; -extern int debug; - #ifdef __cplusplus } /* extern "C" */ #endif