X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=parsers.h;h=e30617823645a67091382c23977dd54e86b2dd14;hb=df9616f1dacac74ba9469d6c334d0105a6effe15;hp=bc2a6b6028a3d748ad0b2782a5cfd5847bf4603e;hpb=c10f86ba56d0b81399e618c925f89370edfd9f24;p=privoxy.git diff --git a/parsers.h b/parsers.h index bc2a6b60..e3061782 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.48 2008/05/30 15:57:23 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.h,v $ @@ -43,6 +43,18 @@ * * Revisions : * $Log: parsers.h,v $ + * Revision 1.48 2008/05/30 15:57:23 fabiankeil + * Remove now-useless reference to debug. + * + * 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. @@ -277,8 +289,8 @@ extern "C" { #define FILTER_CLIENT_HEADERS 0 #define FILTER_SERVER_HEADERS 1 -extern int flush_socket(jb_socket fd, struct iob *iob); -extern jb_err add_to_iob(struct client_state *csp, char *buf, int n); +extern long flush_socket(jb_socket fd, struct iob *iob); +extern jb_err add_to_iob(struct client_state *csp, char *buf, long n); extern jb_err decompress_iob(struct client_state *csp); extern char *get_header(struct iob *iob); extern char *get_header_value(const struct list *header_list, const char *header_name); @@ -288,15 +300,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