X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=encode.c;fp=src%2Fencode.c;h=189dfee013f47b777bd6e1be875bbf6879734d35;hp=e4219f0bb1bf0627008377850594f079dcdca9b6;hb=72081f829de368392d04076728f8c991178c0080;hpb=701f0d2c06084708ab71fe06ded88d4b666dc826 diff --git a/src/encode.c b/encode.c similarity index 97% rename from src/encode.c rename to encode.c index e4219f0b..189dfee0 100644 --- a/src/encode.c +++ b/encode.c @@ -1,7 +1,7 @@ -const char encode_rcs[] = "$Id: encode.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"; +const char encode_rcs[] = "$Id: encode.c,v 1.8 2002/03/26 22:29:54 swa Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/src/encode.c,v $ + * File : $Source: /cvsroot/ijbswa/current/Attic/encode.c,v $ * * Purpose : Functions to encode and decode URLs, and also to * encode cookies and HTML text. @@ -33,9 +33,6 @@ const char encode_rcs[] = "$Id: encode.c,v 2.0 2002/06/04 14:34:21 jongfoster Ex * * Revisions : * $Log: encode.c,v $ - * Revision 2.0 2002/06/04 14:34:21 jongfoster - * Moving source files to src/ - * * Revision 1.8 2002/03/26 22:29:54 swa * we have a new homepage! * @@ -77,9 +74,7 @@ const char encode_rcs[] = "$Id: encode.c,v 2.0 2002/06/04 14:34:21 jongfoster Ex const char encode_h_rcs[] = ENCODE_H_VERSION; -/** - * Maps special characters in a URL to their equivalent % codes. - */ +/* Maps special characters in a URL to their equivalent % codes. */ static const char * const url_code_map[256] = { NULL, "%01", "%02", "%03", "%04", "%05", "%06", "%07", "%08", "%09", "%0A", "%0B", "%0C", "%0D", "%0E", "%0F", "%10", "%11", "%12", "%13", @@ -109,9 +104,7 @@ static const char * const url_code_map[256] = { "%FA", "%FB", "%FC", "%FD", "%FE", "%FF" }; -/** - * Maps special characters in HTML to their equivalent entities. - */ +/* Maps special characters in HTML to their equivalent entites. */ static const char * const html_code_map[256] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, @@ -141,9 +134,7 @@ static const char * const html_code_map[256] = { NULL, NULL, NULL, NULL, NULL, NULL }; -/** - * Maps special characters in a cookie to their equivalent % codes. - */ +/* Maps special characters in a cookie to their equivalent % codes. */ static const char * const cookie_code_map[256] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,