X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pcrs.h;h=bdb1e47296d39170eaa5bc7e5862f7833d2b31d1;hb=06cff5bf3122b01a1e6c42ec1b0d2dc635a1485e;hp=ba77c38a1d86d4470e41b26a44de26c54e7f9712;hpb=c75584ebcc79f939fb4ec9c8f842cef6692640c7;p=privoxy.git diff --git a/pcrs.h b/pcrs.h index ba77c38a..bdb1e472 100644 --- a/pcrs.h +++ b/pcrs.h @@ -3,7 +3,7 @@ /********************************************************************* * - * File : $Source: /home/administrator/cvs/ijb/pcrs.h,v $ + * File : $Source: /cvsroot/ijbswa/current/pcrs.h,v $ * * Purpose : This is the pre-pre-alpha realease of libpcrs. It is only * published at this (ugly) stage of development, because it is @@ -26,6 +26,12 @@ * * Revisions : * $Log: pcrs.h,v $ + * Revision 1.2 2001/05/25 11:03:55 oes + * Added sanity check for NULL jobs to pcrs_exec_substitution + * + * Revision 1.1.1.1 2001/05/15 13:59:02 oes + * Initial import of version 2.9.3 source tree + * * Revision 1.4 2001/05/11 01:57:02 rodney * Added new file header standard w/RCS control tags. * @@ -40,7 +46,7 @@ * *********************************************************************/ -#define PCRS_H_VERSION "$Id: pcrs.h,v 1.1 2001/05/13 21:57:07 administrator Exp $" +#define PCRS_H_VERSION "$Id: pcrs.h,v 1.2 2001/05/25 11:03:55 oes Exp $" @@ -50,11 +56,11 @@ #define TRUE 1 #define PCRS_MAX_MATCHES 300 #define PCRS_MAX_SUBMATCHES 33 -#define CHARBUFSIZ BUFSIZ * sizeof(char) #define PCRS_ERR_NOMEM -10 /* Failed to acquire memory. */ #define PCRS_ERR_CMDSYNTAX -11 /* Syntax of s///-command */ #define PCRS_ERR_STUDY -12 /* pcre error while studying the pattern */ +#define PCRS_ERR_BADJOB -13 /* NULL job pointer, pattern or substitute */ typedef struct S_PCRS_SUBSTITUTE { char *text;