X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=parsers.h;h=d4cfc1c1abbef075f44fbc9de408158ee07fc98e;hp=7f958a52b71630d9260a00ff959adec04324140c;hb=9b2944ab62c530f79c829ac80e9462f0427fc368;hpb=84bc28fd921cef0f8be77172da1751ada7c57bd5 diff --git a/parsers.h b/parsers.h index 7f958a52..d4cfc1c1 100644 --- a/parsers.h +++ b/parsers.h @@ -1,6 +1,5 @@ #ifndef PARSERS_H_INCLUDED #define PARSERS_H_INCLUDED -#define PARSERS_H_VERSION "$Id: parsers.h,v 1.54 2012/10/21 12:58:03 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.h,v $ @@ -16,7 +15,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,15 +45,11 @@ #include "project.h" -#ifdef __cplusplus -extern "C" { -#endif - /* Used for sed()'s second argument. */ #define FILTER_CLIENT_HEADERS 0 #define FILTER_SERVER_HEADERS 1 -extern long flush_socket(jb_socket fd, struct iob *iob); +extern long flush_iob(jb_socket fd, struct iob *iob, unsigned int delay); extern jb_err add_to_iob(struct iob *iob, const size_t buffer_limit, char *src, long n); extern void clear_iob(struct iob *iob); extern jb_err decompress_iob(struct client_state *csp); @@ -71,14 +66,6 @@ extern jb_err client_transfer_encoding(struct client_state *csp, char **header); 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[]; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - #endif /* ndef PARSERS_H_INCLUDED */ /*