Optimized add_to_iob:
[privoxy.git] / project.h
index d42d70f..9791662 100644 (file)
--- a/project.h
+++ b/project.h
@@ -1,6 +1,6 @@
 #ifndef PROJECT_H_INCLUDED
 #define PROJECT_H_INCLUDED
-#define PROJECT_H_VERSION "$Id: project.h,v 1.66 2002/04/15 19:06:43 jongfoster Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.68 2002/04/26 12:56:00 oes Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/project.h,v $
  *
  * Revisions   :
  *    $Log: project.h,v $
+ *    Revision 1.68  2002/04/26 12:56:00  oes
+ *    Killed REDIRECT_URL, added USER_MANUAL_URL and HELP_LINK_PREFIX
+ *
+ *    Revision 1.67  2002/04/24 02:12:43  oes
+ *     - Jon's multiple AF patch:
+ *       - Make csp->actions_list an array
+ *       - #define MAX_ACTION_FILES
+ *     - Moved CGI_PARAM_LEN_MAX (500) here
+ *
  *    Revision 1.66  2002/04/15 19:06:43  jongfoster
  *    Typos
  *
@@ -652,9 +661,10 @@ struct url_spec
 /* An I/O buffer */
 struct iob
 {
-   char *buf;
-   char *cur;
-   char *eod;
+   char *buf;    /* Start of buffer        */
+   char *cur;    /* Start of relevant data */
+   char *eod;    /* End of relevant data   */
+   size_t size;  /* Size as malloc()ed     */
 };
 
 
@@ -1026,6 +1036,9 @@ struct configuration_spec
    /* A URL with info on this proxy */
    char *proxy_info_url;
 
+   /* URL to the user manual (on our website or local copy) */
+   char *usermanual;
+
    const char *re_filterfile;
 
 #ifdef FEATURE_COOKIE_JAR
@@ -1084,8 +1097,9 @@ struct configuration_spec
 
 
 /* Hardwired URLs */
-#define HOME_PAGE_URL       "http://www.privoxy.org"
-#define REDIRECT_URL        HOME_PAGE_URL "/redirect.php?v=" VERSION "&to="
+#define HOME_PAGE_URL     "http://www.privoxy.org"
+#define USER_MANUAL_URL   HOME_PAGE_URL "/" VERSION "/user-manual/"
+#define HELP_LINK_PREFIX  "configuration.html#"
 
 /*
  * The "hosts" to intercept and display CGI pages.