projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fabulous new OS/2 icon
[privoxy.git]
/
project.h
diff --git
a/project.h
b/project.h
index
e950284
..
ca8ea3a
100644
(file)
--- a/
project.h
+++ b/
project.h
@@
-1,6
+1,6
@@
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
-#define PROJECT_H_VERSION "$Id: project.h,v 1.6
3 2002/03/31 17:19:00 jongfoster
Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.6
4 2002/04/03 22:28:03 gliptak
Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
@@
-36,6
+36,9
@@
*
* Revisions :
* $Log: project.h,v $
*
* Revisions :
* $Log: project.h,v $
+ * Revision 1.64 2002/04/03 22:28:03 gliptak
+ * Removed references to gnu_regex
+ *
* Revision 1.63 2002/03/31 17:19:00 jongfoster
* Win32 only: Enabling STRICT to fix a VC++ compile warning.
*
* Revision 1.63 2002/03/31 17:19:00 jongfoster
* Win32 only: Enabling STRICT to fix a VC++ compile warning.
*
@@
-423,10
+426,6
@@
* and are included anyway.
*/
* and are included anyway.
*/
-#if defined(REGEX_PCRE)
-# define REGEX
-#endif /* defined(REGEX_PCRE) */
-
#ifdef STATIC_PCRE
# include "pcre.h"
#else
#ifdef STATIC_PCRE
# include "pcre.h"
#else
@@
-439,13
+438,11
@@
# include <pcrs.h>
#endif
# include <pcrs.h>
#endif
-#if defined(REGEX_PCRE)
-# ifdef STATIC_PCRE
-# include "pcreposix.h"
-# else
-# include <pcreposix.h>
-# endif
-#endif /* defined(REGEX_PCRE) */
+#ifdef STATIC_PCRE
+# include "pcreposix.h"
+#else
+# include <pcreposix.h>
+#endif
#ifdef AMIGA
#include "amiga.h"
#ifdef AMIGA
#include "amiga.h"
@@
-632,15
+629,9
@@
struct url_spec
char *path; /* The path prefix (if not using regex), or source */
/* for the regex. */
int pathlen; /* ==strlen(path). Needed for prefix matching. */
char *path; /* The path prefix (if not using regex), or source */
/* for the regex. */
int pathlen; /* ==strlen(path). Needed for prefix matching. */
-#ifdef REGEX
regex_t *preg; /* Regex for matching path part */
regex_t *preg; /* Regex for matching path part */
-#endif
};
};
-#ifdef REGEX
#define URL_SPEC_INITIALIZER { NULL, NULL, NULL, 0, 0, 0, NULL, 0, NULL }
#define URL_SPEC_INITIALIZER { NULL, NULL, NULL, 0, 0, 0, NULL, 0, NULL }
-#else /* ifndef REGEX */
-#define URL_SPEC_INITIALIZER { NULL, NULL, NULL, 0, 0, 0, NULL, 0 }
-#endif /* ndef REGEX */
/* Constants for host part matching in URLs */
#define ANCHOR_LEFT 1
/* Constants for host part matching in URLs */
#define ANCHOR_LEFT 1