X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=parsers.h;h=50f59b230eaab321904f7068867e279e97abf98a;hb=390e98e99d8a401fa193a281a51e62c0cef13eb3;hp=ce774c91b936f9a8856b8df4bb6273a1718dbc39;hpb=83171b7de14d99f3a213eec0192ba86ff71f9a72;p=privoxy.git diff --git a/parsers.h b/parsers.h index ce774c91..50f59b23 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.56 2013/11/24 14:23:28 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.h,v $ @@ -16,7 +16,7 @@ * `list_to_text', `parse_http_request', `sed', * and `server_set_cookie'. * - * Copyright : Written by and Copyright (C) 2001 the SourceForge + * Copyright : Written by and Copyright (C) 2001 members of the * Privoxy team. http://www.privoxy.org/ * * Based on the Internet Junkbuster originally written @@ -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 */ /*