projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
integrate three pieces of documentation.
[privoxy.git]
/
showargs.c
diff --git
a/showargs.c
b/showargs.c
index
1163296
..
b80b199
100644
(file)
--- a/
showargs.c
+++ b/
showargs.c
@@
-1,4
+1,4
@@
-const char showargs_rcs[] = "$Id: showargs.c,v 1.2
1 2001/07/30 22:08:36
jongfoster Exp $";
+const char showargs_rcs[] = "$Id: showargs.c,v 1.2
3 2001/08/02 22:03:23
jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/showargs.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/showargs.c,v $
@@
-34,6
+34,12
@@
const char showargs_rcs[] = "$Id: showargs.c,v 1.21 2001/07/30 22:08:36 jongfost
*
* Revisions :
* $Log: showargs.c,v $
*
* Revisions :
* $Log: showargs.c,v $
+ * Revision 1.23 2001/08/02 22:03:23 jongfoster
+ * Fixing an unterminated character constant.
+ *
+ * Revision 1.22 2001/08/01 00:20:57 jongfoster
+ * Changing show_defines so that it doesn't contain any HTML.
+ *
* Revision 1.21 2001/07/30 22:08:36 jongfoster
* Tidying up #defines:
* - All feature #defines are now of the form FEATURE_xxx
* Revision 1.21 2001/07/30 22:08:36 jongfoster
* Tidying up #defines:
* - All feature #defines are now of the form FEATURE_xxx
@@
-372,108
+378,106
@@
char *show_rcs(void)
* Returns : string
*
*********************************************************************/
* Returns : string
*
*********************************************************************/
-
struct map *
show_defines(struct map *exports)
+
void
show_defines(struct map *exports)
{
#ifdef FEATURE_ACL
{
#ifdef FEATURE_ACL
-
exports =
map_conditional(exports, "FEATURE_ACL", 1);
+ map_conditional(exports, "FEATURE_ACL", 1);
#else /* ifndef FEATURE_ACL */
#else /* ifndef FEATURE_ACL */
-
exports =
map_conditional(exports, "FEATURE_ACL", 0);
+ map_conditional(exports, "FEATURE_ACL", 0);
#endif /* ndef FEATURE_ACL */
#ifdef FEATURE_COOKIE_JAR
#endif /* ndef FEATURE_ACL */
#ifdef FEATURE_COOKIE_JAR
-
exports =
map_conditional(exports, "FEATURE_COOKIE_JAR", 1);
+ map_conditional(exports, "FEATURE_COOKIE_JAR", 1);
#else /* ifndef FEATURE_COOKIE_JAR */
#else /* ifndef FEATURE_COOKIE_JAR */
-
exports =
map_conditional(exports, "FEATURE_COOKIE_JAR", 0);
+ map_conditional(exports, "FEATURE_COOKIE_JAR", 0);
#endif /* ndef FEATURE_COOKIE_JAR */
#ifdef FEATURE_DENY_GZIP
#endif /* ndef FEATURE_COOKIE_JAR */
#ifdef FEATURE_DENY_GZIP
-
exports =
map_conditional(exports, "FEATURE_DENY_GZIP", 1);
+ map_conditional(exports, "FEATURE_DENY_GZIP", 1);
#else /* ifndef FEATURE_DENY_GZIP */
#else /* ifndef FEATURE_DENY_GZIP */
-
exports =
map_conditional(exports, "FEATURE_DENY_GZIP", 0);
+ map_conditional(exports, "FEATURE_DENY_GZIP", 0);
#endif /* ndef FEATURE_DENY_GZIP */
#ifdef FEATURE_FAST_REDIRECTS
#endif /* ndef FEATURE_DENY_GZIP */
#ifdef FEATURE_FAST_REDIRECTS
-
exports =
map_conditional(exports, "FEATURE_FAST_REDIRECTS", 1);
+ map_conditional(exports, "FEATURE_FAST_REDIRECTS", 1);
#else /* ifndef FEATURE_FAST_REDIRECTS */
#else /* ifndef FEATURE_FAST_REDIRECTS */
-
exports =
map_conditional(exports, "FEATURE_FAST_REDIRECTS", 0);
+ map_conditional(exports, "FEATURE_FAST_REDIRECTS", 0);
#endif /* ndef FEATURE_FAST_REDIRECTS */
#ifdef FEATURE_FORCE_LOAD
#endif /* ndef FEATURE_FAST_REDIRECTS */
#ifdef FEATURE_FORCE_LOAD
-
exports =
map_conditional(exports, "FEATURE_FORCE_LOAD", 1);
+ map_conditional(exports, "FEATURE_FORCE_LOAD", 1);
#else /* ifndef FEATURE_FORCE_LOAD */
#else /* ifndef FEATURE_FORCE_LOAD */
-
exports =
map_conditional(exports, "FEATURE_FORCE_LOAD", 0);
+ map_conditional(exports, "FEATURE_FORCE_LOAD", 0);
#endif /* ndef FEATURE_FORCE_LOAD */
#ifdef FEATURE_IMAGE_BLOCKING
#endif /* ndef FEATURE_FORCE_LOAD */
#ifdef FEATURE_IMAGE_BLOCKING
-
exports =
map_conditional(exports, "FEATURE_IMAGE_BLOCKING", 1);
+ map_conditional(exports, "FEATURE_IMAGE_BLOCKING", 1);
#else /* ifndef FEATURE_IMAGE_BLOCKING */
#else /* ifndef FEATURE_IMAGE_BLOCKING */
-
exports = map_conditional(exports, "FEATURE_IMAGE_BLOCKING
, 0);
+
map_conditional(exports, "FEATURE_IMAGE_BLOCKING"
, 0);
#endif /* ndef FEATURE_IMAGE_BLOCKING */
#ifdef FEATURE_IMAGE_DETECT_MSIE
#endif /* ndef FEATURE_IMAGE_BLOCKING */
#ifdef FEATURE_IMAGE_DETECT_MSIE
-
exports =
map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 1);
+ map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 1);
#else /* ifndef FEATURE_IMAGE_DETECT_MSIE */
#else /* ifndef FEATURE_IMAGE_DETECT_MSIE */
-
exports =
map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 0);
+ map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 0);
#endif /* ndef FEATURE_IMAGE_DETECT_MSIE */
#ifdef FEATURE_KILL_POPUPS
#endif /* ndef FEATURE_IMAGE_DETECT_MSIE */
#ifdef FEATURE_KILL_POPUPS
-
exports =
map_conditional(exports, "FEATURE_KILL_POPUPS", 1);
+ map_conditional(exports, "FEATURE_KILL_POPUPS", 1);
#else /* ifndef FEATURE_KILL_POPUPS */
#else /* ifndef FEATURE_KILL_POPUPS */
-
exports =
map_conditional(exports, "FEATURE_KILL_POPUPS", 0);
+ map_conditional(exports, "FEATURE_KILL_POPUPS", 0);
#endif /* ndef FEATURE_KILL_POPUPS */
#ifdef FEATURE_PTHREAD
#endif /* ndef FEATURE_KILL_POPUPS */
#ifdef FEATURE_PTHREAD
-
exports =
map_conditional(exports, "FEATURE_PTHREAD", 1);
+ map_conditional(exports, "FEATURE_PTHREAD", 1);
#else /* ifndef FEATURE_PTHREAD */
#else /* ifndef FEATURE_PTHREAD */
-
exports =
map_conditional(exports, "FEATURE_PTHREAD", 0);
+ map_conditional(exports, "FEATURE_PTHREAD", 0);
#endif /* ndef FEATURE_PTHREAD */
#ifdef FEATURE_STATISTICS
#endif /* ndef FEATURE_PTHREAD */
#ifdef FEATURE_STATISTICS
-
exports =
map_conditional(exports, "FEATURE_STATISTICS", 1);
+ map_conditional(exports, "FEATURE_STATISTICS", 1);
#else /* ifndef FEATURE_STATISTICS */
#else /* ifndef FEATURE_STATISTICS */
-
exports =
map_conditional(exports, "FEATURE_STATISTICS", 0);
+ map_conditional(exports, "FEATURE_STATISTICS", 0);
#endif /* ndef FEATURE_STATISTICS */
#ifdef FEATURE_TOGGLE
#endif /* ndef FEATURE_STATISTICS */
#ifdef FEATURE_TOGGLE
-
exports =
map_conditional(exports, "FEATURE_TOGGLE", 1);
+ map_conditional(exports, "FEATURE_TOGGLE", 1);
#else /* ifndef FEATURE_TOGGLE */
#else /* ifndef FEATURE_TOGGLE */
-
exports =
map_conditional(exports, "FEATURE_TOGGLE", 0);
+ map_conditional(exports, "FEATURE_TOGGLE", 0);
#endif /* ndef FEATURE_TOGGLE */
#ifdef FEATURE_TRUST
#endif /* ndef FEATURE_TOGGLE */
#ifdef FEATURE_TRUST
-
exports =
map_conditional(exports, "FEATURE_TRUST", 1);
+ map_conditional(exports, "FEATURE_TRUST", 1);
#else /* ifndef FEATURE_TRUST */
#else /* ifndef FEATURE_TRUST */
-
exports =
map_conditional(exports, "FEATURE_TRUST", 0);
+ map_conditional(exports, "FEATURE_TRUST", 0);
#endif /* ndef FEATURE_TRUST */
#ifdef REGEX_GNU
#endif /* ndef FEATURE_TRUST */
#ifdef REGEX_GNU
-
exports =
map_conditional(exports, "REGEX_GNU", 1);
+ map_conditional(exports, "REGEX_GNU", 1);
#else /* ifndef REGEX_GNU */
#else /* ifndef REGEX_GNU */
-
exports =
map_conditional(exports, "REGEX_GNU", 0);
+ map_conditional(exports, "REGEX_GNU", 0);
#endif /* def REGEX_GNU */
#ifdef REGEX_PCRE
#endif /* def REGEX_GNU */
#ifdef REGEX_PCRE
-
exports =
map_conditional(exports, "REGEX_PCRE", 1);
+ map_conditional(exports, "REGEX_PCRE", 1);
#else /* ifndef REGEX_PCRE */
#else /* ifndef REGEX_PCRE */
-
exports =
map_conditional(exports, "REGEX_PCRE", 0);
+ map_conditional(exports, "REGEX_PCRE", 0);
#endif /* def REGEX_PCRE */
#ifdef STATIC_PCRE
#endif /* def REGEX_PCRE */
#ifdef STATIC_PCRE
-
exports =
map_conditional(exports, "STATIC_PCRE", 1);
+ map_conditional(exports, "STATIC_PCRE", 1);
#else /* ifndef STATIC_PCRE */
#else /* ifndef STATIC_PCRE */
-
exports =
map_conditional(exports, "STATIC_PCRE", 0);
+ map_conditional(exports, "STATIC_PCRE", 0);
#endif /* ndef STATIC_PCRE */
#ifdef STATIC_PCRS
#endif /* ndef STATIC_PCRE */
#ifdef STATIC_PCRS
-
exports =
map_conditional(exports, "STATIC_PCRS", 1);
+ map_conditional(exports, "STATIC_PCRS", 1);
#else /* ifndef STATIC_PCRS */
#else /* ifndef STATIC_PCRS */
-
exports =
map_conditional(exports, "STATIC_PCRS", 0);
+ map_conditional(exports, "STATIC_PCRS", 0);
#endif /* ndef STATIC_PCRS */
#endif /* ndef STATIC_PCRS */
- exports = map(exports, "FORCE_PREFIX", 1, FORCE_PREFIX, 1);
-
- return exports;
+ map(exports, "FORCE_PREFIX", 1, FORCE_PREFIX, 1);
}
}