projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing a single unused #define which referenced BUFSIZ
[privoxy.git]
/
pcrs.h
diff --git
a/pcrs.h
b/pcrs.h
index
ba77c38
..
bdb1e47
100644
(file)
--- 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
*
* 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 $
*
* 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.
*
* 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 $"
\f
\f
@@
-50,11
+56,11
@@
#define TRUE 1
#define PCRS_MAX_MATCHES 300
#define PCRS_MAX_SUBMATCHES 33
#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_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;
typedef struct S_PCRS_SUBSTITUTE {
char *text;