X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=encode.h;h=1329042b3e9237ccc6d0abf966726aaf26ecd62b;hp=e8acf549c52139c59d6d29206095f76ff99f3333;hb=a7d3a20b22aa4c23f212c2e65caff84da969d091;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/encode.h b/encode.h index e8acf549..1329042b 100644 --- a/encode.h +++ b/encode.h @@ -1,6 +1,6 @@ #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 $" +#define ENCODE_H_VERSION "$Id: encode.h,v 1.12 2011/11/06 11:44:56 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/encode.h,v $ @@ -36,24 +36,17 @@ *********************************************************************/ -#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); +extern char * percent_encode_url(const 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 - #endif /* ndef ENCODE_H_INCLUDED */ /*