Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
[privoxy.git] / encode.c
similarity index 97%
rename from src/encode.c
rename to encode.c
index e4219f0..189dfee 100644 (file)
+++ 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,