projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae6704a
)
Defining FORWARD_SPEC_INITIALIZER
author
jongfoster
<jongfoster@users.sourceforge.net>
Thu, 13 Sep 2001 23:29:43 +0000
(23:29 +0000)
committer
jongfoster
<jongfoster@users.sourceforge.net>
Thu, 13 Sep 2001 23:29:43 +0000
(23:29 +0000)
project.h
patch
|
blob
|
history
diff --git
a/project.h
b/project.h
index
e0f526e
..
25ee721
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.2
7 2001/08/05 16:06:2
0 jongfoster Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.2
8 2001/09/13 23:05:5
0 jongfoster 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.28 2001/09/13 23:05:50 jongfoster
+ * Changing the string paramater to the header parsers a "const".
+ *
* Revision 1.27 2001/08/05 16:06:20 jongfoster
* Modifiying "struct map" so that there are now separate header and
* "map_entry" structures. This means that functions which modify a
* Revision 1.27 2001/08/05 16:06:20 jongfoster
* Modifiying "struct map" so that there are now separate header and
* "map_entry" structures. This means that functions which modify a
@@
-375,6
+378,11
@@
struct url_spec
regex_t *preg; /* Regex for matching path part */
#endif
};
regex_t *preg; /* Regex for matching path part */
#endif
};
+#ifdef REGEX
+#define URL_SPEC_INITIALIZER { NULL, NULL, NULL, NULL, 0, 0, 0, NULL, 0, NULL }
+#else /* ifndef REGEX */
+#define URL_SPEC_INITIALIZER { NULL, 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
@@
-689,6
+697,8
@@
struct forward_spec
/* For the linked list */
struct forward_spec *next;
};
/* For the linked list */
struct forward_spec *next;
};
+#define FORWARD_SPEC_INITIALIZER { URL_SPEC_INITIALIZER, 0, NULL, 0, NULL, 0, NULL }
+
struct re_filterfile_spec
{
struct re_filterfile_spec
{