X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=project.h;h=890eecc177f32d0d75be09582d6911a8482fa415;hp=811cf22a42b8b076bae639d32f28fb5756663d6f;hb=1b4d4f3ab4ec936d30c27fac8eb90ebba51a7412;hpb=9cfda1cc300d6f1693cb51e65571bf39ada1ccc5 diff --git a/project.h b/project.h index 811cf22a..890eecc1 100644 --- 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.67 2002/04/24 02:12:43 oes Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.69 2002/05/08 16:00:16 oes Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,13 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.69 2002/05/08 16:00:16 oes + * Added size member to struct iob, so it can + * be alloced larger than needed. + * + * 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 @@ -658,9 +665,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 */ }; @@ -672,7 +680,7 @@ struct iob #define CT_GIF 2 /* Suitable for GIF filtering */ #define CT_TABOO 4 /* DONT filter */ -#define ACTION_MASK_ALL (~0U) +#define ACTION_MASK_ALL (~0UL) #define ACTION_MOST_COMPATIBLE 0x00000000UL