X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=encode.h;h=f4acb24cc8e599c998c7b8cda7bd5ec652ece9ac;hp=e8acf549c52139c59d6d29206095f76ff99f3333;hb=c4fe56c65d954f517b56ab46165163cab92e5daa;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/encode.h b/encode.h index e8acf549..f4acb24c 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,7 +7,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,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 */