X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=encode.h;h=b4d954b3de6786df384205ab22e16bc03a7d6a05;hp=e8acf549c52139c59d6d29206095f76ff99f3333;hb=179a0805b3bdeb9c5c6a98163cde81ea38cb1035;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/encode.h b/encode.h index e8acf549..b4d954b3 100644 --- a/encode.h +++ b/encode.h @@ -1,6 +1,5 @@ #ifndef ENCODE_H_INCLUDED #define ENCODE_H_INCLUDED -#define ENCODE_H_VERSION "$Id: encode.h,v 1.10 2009/05/16 13:27:20 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/encode.h,v $ @@ -8,8 +7,8 @@ * Purpose : Functions to encode and decode URLs, and also to * encode cookies and HTML text. * - * Copyright : Written by and Copyright (C) 2001 the SourceForge - * Privoxy team. http://www.privoxy.org/ + * Copyright : Written by and Copyright (C) 2001 members of the + * Privoxy team. https://www.privoxy.org/ * * Based on the Internet Junkbuster originally written * by and Copyright (C) 1997 Anonymous Coders and @@ -36,23 +35,12 @@ *********************************************************************/ -#ifdef __cplusplus -extern "C" { -#endif - extern char * html_encode(const char *s); extern char * url_encode(const char *s); extern char * url_decode(const char *str); extern int xtoi(const char *s); extern char * html_encode_and_free_original(char *s); - -/* Revision control strings from this header and associated .c file */ -extern const char encode_rcs[]; -extern const char encode_h_rcs[]; - -#ifdef __cplusplus -} /* extern "C" */ -#endif +extern char * percent_encode_url(const char *s); #endif /* ndef ENCODE_H_INCLUDED */