X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=parsers.h;h=20d137927a97c8ffe370dd4729d735c7ddc2b71d;hp=ce774c91b936f9a8856b8df4bb6273a1718dbc39;hb=3249adeb7a93de58f324aa46db8e19ed4124fde6;hpb=83171b7de14d99f3a213eec0192ba86ff71f9a72 diff --git a/parsers.h b/parsers.h index ce774c91..20d13792 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.53 2012/10/21 12:39:27 fabiankeil Exp $" +#define PARSERS_H_VERSION "$Id: parsers.h,v 1.55 2012/12/07 12:43:55 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.h,v $ @@ -46,10 +46,6 @@ #include "project.h" -#ifdef __cplusplus -extern "C" { -#endif - /* Used for sed()'s second argument. */ #define FILTER_CLIENT_HEADERS 0 #define FILTER_SERVER_HEADERS 1 @@ -65,6 +61,7 @@ extern jb_err update_server_headers(struct client_state *csp); 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); extern unsigned long long get_expected_content_length(struct list *headers); +extern jb_err client_transfer_encoding(struct client_state *csp, char **header); #ifdef FEATURE_FORCE_LOAD extern int strclean(char *string, const char *substring); @@ -74,10 +71,6 @@ extern int strclean(char *string, const char *substring); extern const char parsers_rcs[]; extern const char parsers_h_rcs[]; -#ifdef __cplusplus -} /* extern "C" */ -#endif - #endif /* ndef PARSERS_H_INCLUDED */ /*