X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=encode.h;h=305c40210765053b535336a3a6693114a2c04154;hp=e8acf549c52139c59d6d29206095f76ff99f3333;hb=1f28c399b73ef84fff9903a48bf7d14153be224f;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/encode.h b/encode.h index e8acf549..305c4021 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.13 2013/11/24 14:23:28 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/encode.h,v $ @@ -8,7 +8,7 @@ * Purpose : Functions to encode and decode URLs, and also to * encode cookies and HTML text. * - * 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 @@ -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 */ /*