1 const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.7 2001/10/23 21:48:19 jongfoster Exp $";
2 /*********************************************************************
4 * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
6 * Purpose : Simple CGIs to get information about JunkBuster's
9 * Functions declared include:
12 * Copyright : Written by and Copyright (C) 2001 the SourceForge
13 * IJBSWA team. http://ijbswa.sourceforge.net
15 * Based on the Internet Junkbuster originally written
16 * by and Copyright (C) 1997 Anonymous Coders and
17 * Junkbusters Corporation. http://www.junkbusters.com
19 * This program is free software; you can redistribute it
20 * and/or modify it under the terms of the GNU General
21 * Public License as published by the Free Software
22 * Foundation; either version 2 of the License, or (at
23 * your option) any later version.
25 * This program is distributed in the hope that it will
26 * be useful, but WITHOUT ANY WARRANTY; without even the
27 * implied warranty of MERCHANTABILITY or FITNESS FOR A
28 * PARTICULAR PURPOSE. See the GNU General Public
29 * License for more details.
31 * The GNU General Public License should be included with
32 * this file. If not, you can view it at
33 * http://www.gnu.org/copyleft/gpl.html
34 * or write to the Free Software Foundation, Inc., 59
35 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
38 * $Log: cgisimple.c,v $
39 * Revision 1.7 2001/10/23 21:48:19 jongfoster
40 * Cleaning up error handling in CGI functions - they now send back
41 * a HTML error page and should never cause a FATAL error. (Fixes one
42 * potential source of "denial of service" attacks).
44 * CGI actions file editor that works and is actually useful.
46 * Ability to toggle JunkBuster remotely using a CGI call.
48 * You can turn off both the above features in the main configuration
49 * file, e.g. if you are running a multi-user proxy.
51 * Revision 1.6 2001/10/14 22:00:32 jongfoster
52 * Adding support for a 404 error when an invalid CGI page is requested.
54 * Revision 1.5 2001/10/07 15:30:41 oes
55 * Removed FEATURE_DENY_GZIP
57 * Revision 1.4 2001/10/02 15:31:12 oes
58 * Introduced show-request cgi
60 * Revision 1.3 2001/09/22 16:34:44 jongfoster
61 * Removing unneeded #includes
63 * Revision 1.2 2001/09/19 18:01:11 oes
64 * Fixed comments; cosmetics
66 * Revision 1.1 2001/09/16 17:08:54 jongfoster
67 * Moving simple CGI functions from cgi.c to new file cgisimple.c
70 **********************************************************************/
76 #include <sys/types.h>
83 #define snprintf _snprintf
84 #endif /* def _WIN32 */
88 #include "cgisimple.h"
98 const char cgisimple_h_rcs[] = CGISIMPLE_H_VERSION;
101 static char *show_rcs(void);
102 static jb_err show_defines(struct map *exports);
105 /*********************************************************************
107 * Function : cgi_default
109 * Description : CGI function that is called if no action was given.
110 * Lists menu of available unhidden CGIs.
113 * 1 : csp = Current client state (buffers, headers, etc...)
114 * 2 : rsp = http_response data structure for output
115 * 3 : parameters = map of cgi parameters
117 * CGI Parameters : none
119 * Returns : JB_ERR_OK on success
120 * JB_ERR_MEMORY on out-of-memory
121 * (Problems other than out-of-memory should be
122 * handled by this routine - it should set the
123 * rsp appropriately and return "success")
125 *********************************************************************/
126 jb_err cgi_default(struct client_state *csp,
127 struct http_response *rsp,
128 const struct map *parameters)
138 if (NULL == (exports = default_exports(csp, "")))
140 return JB_ERR_MEMORY;
143 /* If there were other parameters, export a dump as "cgi-parameters" */
144 if (parameters->first)
146 if (NULL == (p = dump_map(parameters)))
149 return JB_ERR_MEMORY;
151 tmp = strdup("<p>What made you think this cgi takes parameters?\n"
152 "Anyway, here they are, in case you're interested:</p>\n");
153 string_append(&tmp, p);
158 return JB_ERR_MEMORY;
160 if (map(exports, "cgi-parameters", 1, tmp, 0))
162 return JB_ERR_MEMORY;
167 if (map(exports, "cgi-parameters", 1, "", 1))
169 return JB_ERR_MEMORY;
173 return template_fill_for_cgi(csp, "default", exports, rsp);
179 /*********************************************************************
181 * Function : cgi_error_404
183 * Description : CGI function that is called if an unknown action was
187 * 1 : csp = Current client state (buffers, headers, etc...)
188 * 2 : rsp = http_response data structure for output
189 * 3 : parameters = map of cgi parameters
191 * CGI Parameters : none
193 * Returns : JB_ERR_OK on success
194 * JB_ERR_MEMORY on out-of-memory error.
196 *********************************************************************/
197 jb_err cgi_error_404(struct client_state *csp,
198 struct http_response *rsp,
199 const struct map *parameters)
207 if (NULL == (exports = default_exports(csp, NULL)))
209 return JB_ERR_MEMORY;
212 rsp->status = strdup("404 JunkBuster configuration page not found");
213 if (rsp->status == NULL)
216 return JB_ERR_MEMORY;
219 return template_fill_for_cgi(csp, "cgi-error-404", exports, rsp);
223 /*********************************************************************
225 * Function : cgi_show_request
227 * Description : Show the client's request and what sed() would have
231 * 1 : csp = Current client state (buffers, headers, etc...)
232 * 2 : rsp = http_response data structure for output
233 * 3 : parameters = map of cgi parameters
235 * CGI Parameters : none
237 * Returns : JB_ERR_OK on success
238 * JB_ERR_MEMORY on out-of-memory error.
240 *********************************************************************/
241 jb_err cgi_show_request(struct client_state *csp,
242 struct http_response *rsp,
243 const struct map *parameters)
252 if (NULL == (exports = default_exports(csp, "show-request")))
254 return JB_ERR_MEMORY;
258 * Repair the damage done to the IOB by get_header()
260 for (p = csp->iob->buf; p < csp->iob->eod; p++)
262 if (*p == '\0') *p = '\n';
266 * Export the original client's request and the one we would
267 * be sending to the server if this wasn't a CGI call
270 if (map(exports, "client-request", 1, csp->iob->buf, 1))
273 return JB_ERR_MEMORY;
276 if (map(exports, "processed-request", 1, sed(client_patterns, add_client_headers, csp), 0))
279 return JB_ERR_MEMORY;
282 return template_fill_for_cgi(csp, "show-request", exports, rsp);
286 /*********************************************************************
288 * Function : cgi_send_banner
290 * Description : CGI function that returns a banner.
293 * 1 : csp = Current client state (buffers, headers, etc...)
294 * 2 : rsp = http_response data structure for output
295 * 3 : parameters = map of cgi parameters
298 * type : Selects the type of banner between "trans" and "jb".
299 * Defaults to "jb" if absent or != "trans".
301 * Returns : JB_ERR_OK on success
302 * JB_ERR_MEMORY on out-of-memory error.
304 *********************************************************************/
305 jb_err cgi_send_banner(struct client_state *csp,
306 struct http_response *rsp,
307 const struct map *parameters)
309 if (strcmp(lookup(parameters, "type"), "trans"))
311 rsp->body = bindup(image_junkbuster_gif_data, image_junkbuster_gif_length);
312 rsp->content_length = image_junkbuster_gif_length;
316 rsp->body = bindup(image_blank_gif_data, image_blank_gif_length);
317 rsp->content_length = image_blank_gif_length;
320 if (rsp->body == NULL)
322 return JB_ERR_MEMORY;
325 if (enlist(rsp->headers, "Content-Type: image/gif"))
327 return JB_ERR_MEMORY;
337 /*********************************************************************
339 * Function : cgi_show_version
341 * Description : CGI function that returns a a web page describing the
342 * file versions of IJB.
345 * 1 : csp = Current client state (buffers, headers, etc...)
346 * 2 : rsp = http_response data structure for output
347 * 3 : parameters = map of cgi parameters
349 * CGI Parameters : none
351 * Returns : JB_ERR_OK on success
352 * JB_ERR_MEMORY on out-of-memory error.
354 *********************************************************************/
355 jb_err cgi_show_version(struct client_state *csp,
356 struct http_response *rsp,
357 const struct map *parameters)
365 if (NULL == (exports = default_exports(csp, "show-version")))
367 return JB_ERR_MEMORY;
370 if (map(exports, "sourceversions", 1, show_rcs(), 0))
373 return JB_ERR_MEMORY;
376 return template_fill_for_cgi(csp, "show-version", exports, rsp);
380 /*********************************************************************
382 * Function : cgi_show_status
384 * Description : CGI function that returns a a web page describing the
385 * current status of IJB.
388 * 1 : csp = Current client state (buffers, headers, etc...)
389 * 2 : rsp = http_response data structure for output
390 * 3 : parameters = map of cgi parameters
393 * file : Which file to show. Only first letter is checked,
395 * - "p"ermissions (actions) file
398 * Default is to show menu and other information.
400 * Returns : JB_ERR_OK on success
401 * JB_ERR_MEMORY on out-of-memory error.
403 *********************************************************************/
404 jb_err cgi_show_status(struct client_state *csp,
405 struct http_response *rsp,
406 const struct map *parameters)
412 char buf[BUFFER_SIZE];
414 const char * filename = NULL;
415 char * file_description = NULL;
416 #ifdef FEATURE_STATISTICS
417 float perc_rej; /* Percentage of http requests rejected */
419 int local_urls_rejected;
420 #endif /* ndef FEATURE_STATISTICS */
429 if (NULL == (exports = default_exports(csp, "show-status")))
431 return JB_ERR_MEMORY;
434 switch (*(lookup(parameters, "file")))
437 if (csp->actions_list)
439 filename = csp->actions_list->filename;
440 file_description = "Actions List";
447 filename = csp->rlist->filename;
448 file_description = "Regex Filter List";
456 filename = csp->tlist->filename;
457 file_description = "Trust List";
460 #endif /* def FEATURE_TRUST */
463 if (NULL != filename)
465 if ( map(exports, "file-description", 1, file_description, 1)
466 || map(exports, "filepath", 1, html_encode(filename), 0) )
469 return JB_ERR_MEMORY;
472 if ((fp = fopen(filename, "r")) == NULL)
474 if (map(exports, "content", 1, "<h1>ERROR OPENING FILE!</h1>", 1))
477 return JB_ERR_MEMORY;
483 while ((s != NULL) && fgets(buf, sizeof(buf), fp))
485 p = html_encode(buf);
488 string_append(&s, p);
490 string_append(&s, "<br>");
495 if (map(exports, "contents", 1, s, 0))
498 return JB_ERR_MEMORY;
502 return template_fill_for_cgi(csp, "show-status-file", exports, rsp);
505 if (map(exports, "redirect-url", 1, REDIRECT_URL, 1))
508 return JB_ERR_MEMORY;
512 for (i=0; i < Argc; i++)
514 string_append(&s, Argv[i]);
515 string_append(&s, " ");
517 if (map(exports, "invocation", 1, s, 0))
520 return JB_ERR_MEMORY;
523 err = map(exports, "options", 1, csp->config->proxy_args, 1);
524 if (!err) err = show_defines(exports);
526 #ifdef FEATURE_STATISTICS
527 local_urls_read = urls_read;
528 local_urls_rejected = urls_rejected;
531 * Need to alter the stats not to include the fetch of this
534 * Can't do following thread safely! doh!
537 * urls_rejected--; * This will be incremented subsequently *
540 if (local_urls_read == 0)
542 if (!err) err = map_block_killer(exports, "have-stats");
546 if (!err) err = map_block_killer(exports, "have-no-stats");
548 perc_rej = (float)local_urls_rejected * 100.0F /
549 (float)local_urls_read;
551 sprintf(buf, "%d", local_urls_read);
552 if (!err) err = map(exports, "requests-received", 1, buf, 1);
554 sprintf(buf, "%d", local_urls_rejected);
555 if (!err) err = map(exports, "requests-blocked", 1, buf, 1);
557 sprintf(buf, "%6.2f", perc_rej);
558 if (!err) err = map(exports, "percent-blocked", 1, buf, 1);
561 #else /* ndef FEATURE_STATISTICS */
562 err = err || map_block_killer(exports, "statistics");
563 #endif /* ndef FEATURE_STATISTICS */
565 if (csp->actions_list)
567 if (!err) err = map(exports, "actions-filename", 1, csp->actions_list->filename, 1);
571 if (!err) err = map(exports, "actions-filename", 1, "None specified", 1);
576 if (!err) err = map(exports, "re-filter-filename", 1, csp->rlist->filename, 1);
580 if (!err) err = map(exports, "re-filter-filename", 1, "None specified", 1);
586 if (!err) err = map(exports, "trust-filename", 1, csp->tlist->filename, 1);
590 if (!err) err = map(exports, "trust-filename", 1, "None specified", 1);
593 if (!err) err = map_block_killer(exports, "trust-support");
594 #endif /* ndef FEATURE_TRUST */
599 return JB_ERR_MEMORY;
602 return template_fill_for_cgi(csp, "show-status", exports, rsp);
606 /*********************************************************************
608 * Function : cgi_show_url_info
610 * Description : CGI function that determines and shows which actions
611 * junkbuster will perform for a given url, and which
612 * matches starting from the defaults have lead to that.
615 * 1 : csp = Current client state (buffers, headers, etc...)
616 * 2 : rsp = http_response data structure for output
617 * 3 : parameters = map of cgi parameters
620 * url : The url whose actions are to be determined.
621 * If url is unset, the url-given conditional will be
622 * set, so that all but the form can be suppressed in
625 * Returns : JB_ERR_OK on success
626 * JB_ERR_MEMORY on out-of-memory error.
628 *********************************************************************/
629 jb_err cgi_show_url_info(struct client_state *csp,
630 struct http_response *rsp,
631 const struct map *parameters)
633 const char *url_param_const;
641 if (NULL == (exports = default_exports(csp, "show-url-info")))
643 return JB_ERR_MEMORY;
646 url_param_const = lookup(parameters, "url");
647 if (*url_param_const == '\0')
649 if (map_block_killer(exports, "url-given")
650 || map(exports, "url", 1, "", 1))
653 return JB_ERR_MEMORY;
664 struct file_list *fl;
665 struct url_actions *b;
666 struct url_spec url[1];
667 struct current_action_spec action[1];
669 if (NULL == (url_param = strdup(url_param_const)))
672 return JB_ERR_MEMORY;
676 host += (strncmp(url_param, "http://", 7)) ? 0 : 7;
678 if (map(exports, "url", 1, host, 1)
679 || map(exports, "url-html", 1, html_encode(host), 0))
683 return JB_ERR_MEMORY;
686 init_current_action(action);
688 s = current_action_to_text(action);
689 if (map(exports, "default", 1, s , 0))
691 free_current_action(action);
694 return JB_ERR_MEMORY;
697 if (((fl = csp->actions_list) == NULL) || ((b = fl->f) == NULL))
701 err = map(exports, "matches", 1, "none" , 1)
702 || map(exports, "final", 1, lookup(exports, "default"), 1);
704 free_current_action(action);
710 return JB_ERR_MEMORY;
713 return template_fill_for_cgi(csp, "show-url-info", exports, rsp);
716 s = strchr(host, '/');
728 free_current_action(action);
731 return JB_ERR_MEMORY;
734 s = strchr(host, ':');
744 /* if splitting the domain fails, punt */
745 if (url->dbuf == NULL)
749 err = map(exports, "matches", 1, "none" , 1)
750 || map(exports, "final", 1, lookup(exports, "default"), 1);
754 free_current_action(action);
759 return JB_ERR_MEMORY;
762 return template_fill_for_cgi(csp, "show-url-info", exports, rsp);
765 matches = strdup("");
767 for (b = b->next; NULL != b; b = b->next)
769 if ((b->url->port == 0) || (b->url->port == port))
771 if ((b->url->domain[0] == '\0') || (domaincmp(b->url, url) == 0))
773 if ((b->url->path == NULL) ||
775 (regexec(b->url->preg, path, 0, NULL, 0) == 0)
777 (strncmp(b->url->path, path, b->url->pathlen) == 0)
781 s = actions_to_text(b->action);
789 free_current_action(action);
791 return JB_ERR_MEMORY;
793 string_append(&matches, "<b>{");
794 string_append(&matches, s);
795 string_append(&matches, " }</b><br>\n<code>");
796 string_append(&matches, b->url->spec);
797 string_append(&matches, "</code><br>\n<br>\n");
800 merge_current_action(action, b->action); /* FIXME: Add error checking */
815 free_current_action(action);
817 return JB_ERR_MEMORY;
823 matches = strdup("none");
825 if (map(exports, "matches", 1, matches , 0))
827 free_current_action(action);
829 return JB_ERR_MEMORY;
832 s = current_action_to_text(action);
834 free_current_action(action);
836 if (map(exports, "final", 1, s, 0))
839 return JB_ERR_MEMORY;
843 return template_fill_for_cgi(csp, "show-url-info", exports, rsp);
847 /*********************************************************************
849 * Function : cgi_robots_txt
851 * Description : CGI function to return "/robots.txt".
854 * 1 : csp = Current client state (buffers, headers, etc...)
855 * 2 : rsp = http_response data structure for output
856 * 3 : parameters = map of cgi parameters
858 * CGI Parameters : None
860 * Returns : JB_ERR_OK on success
861 * JB_ERR_MEMORY on out-of-memory error.
863 *********************************************************************/
864 jb_err cgi_robots_txt(struct client_state *csp,
865 struct http_response *rsp,
866 const struct map *parameters)
872 "# This is the Internet Junkbuster control interface.\n"
873 "# It isn't very useful to index it, and you're likely to break stuff.\n"
879 if (rsp->body == NULL)
881 return JB_ERR_MEMORY;
884 err = enlist_unique(rsp->headers, "Content-Type: text/plain", 13);
888 get_http_time(7 * 24 * 60 * 60, buf); /* 7 days into future */
889 if (!err) err = enlist_unique_header(rsp->headers, "Expires", buf);
891 return (err ? JB_ERR_MEMORY : JB_ERR_OK);
895 /*********************************************************************
897 * Function : show_defines
899 * Description : Add to a map the state od all conditional #defines
903 * 1 : exports = map to extend
905 * Returns : JB_ERR_OK on success
906 * JB_ERR_MEMORY on out-of-memory error.
908 *********************************************************************/
909 static jb_err show_defines(struct map *exports)
911 jb_err err = JB_ERR_OK;
914 if (!err) err = map_conditional(exports, "FEATURE_ACL", 1);
915 #else /* ifndef FEATURE_ACL */
916 if (!err) err = map_conditional(exports, "FEATURE_ACL", 0);
917 #endif /* ndef FEATURE_ACL */
919 #ifdef FEATURE_COOKIE_JAR
920 if (!err) err = map_conditional(exports, "FEATURE_COOKIE_JAR", 1);
921 #else /* ifndef FEATURE_COOKIE_JAR */
922 if (!err) err = map_conditional(exports, "FEATURE_COOKIE_JAR", 0);
923 #endif /* ndef FEATURE_COOKIE_JAR */
925 #ifdef FEATURE_FAST_REDIRECTS
926 if (!err) err = map_conditional(exports, "FEATURE_FAST_REDIRECTS", 1);
927 #else /* ifndef FEATURE_FAST_REDIRECTS */
928 if (!err) err = map_conditional(exports, "FEATURE_FAST_REDIRECTS", 0);
929 #endif /* ndef FEATURE_FAST_REDIRECTS */
931 #ifdef FEATURE_FORCE_LOAD
932 if (!err) err = map_conditional(exports, "FEATURE_FORCE_LOAD", 1);
933 #else /* ifndef FEATURE_FORCE_LOAD */
934 if (!err) err = map_conditional(exports, "FEATURE_FORCE_LOAD", 0);
935 #endif /* ndef FEATURE_FORCE_LOAD */
937 #ifdef FEATURE_IMAGE_BLOCKING
938 if (!err) err = map_conditional(exports, "FEATURE_IMAGE_BLOCKING", 1);
939 #else /* ifndef FEATURE_IMAGE_BLOCKING */
940 if (!err) err = map_conditional(exports, "FEATURE_IMAGE_BLOCKING", 0);
941 #endif /* ndef FEATURE_IMAGE_BLOCKING */
943 #ifdef FEATURE_IMAGE_DETECT_MSIE
944 if (!err) err = map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 1);
945 #else /* ifndef FEATURE_IMAGE_DETECT_MSIE */
946 if (!err) err = map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 0);
947 #endif /* ndef FEATURE_IMAGE_DETECT_MSIE */
949 #ifdef FEATURE_KILL_POPUPS
950 if (!err) err = map_conditional(exports, "FEATURE_KILL_POPUPS", 1);
951 #else /* ifndef FEATURE_KILL_POPUPS */
952 if (!err) err = map_conditional(exports, "FEATURE_KILL_POPUPS", 0);
953 #endif /* ndef FEATURE_KILL_POPUPS */
955 #ifdef FEATURE_PTHREAD
956 if (!err) err = map_conditional(exports, "FEATURE_PTHREAD", 1);
957 #else /* ifndef FEATURE_PTHREAD */
958 if (!err) err = map_conditional(exports, "FEATURE_PTHREAD", 0);
959 #endif /* ndef FEATURE_PTHREAD */
961 #ifdef FEATURE_STATISTICS
962 if (!err) err = map_conditional(exports, "FEATURE_STATISTICS", 1);
963 #else /* ifndef FEATURE_STATISTICS */
964 if (!err) err = map_conditional(exports, "FEATURE_STATISTICS", 0);
965 #endif /* ndef FEATURE_STATISTICS */
967 #ifdef FEATURE_TOGGLE
968 if (!err) err = map_conditional(exports, "FEATURE_TOGGLE", 1);
969 #else /* ifndef FEATURE_TOGGLE */
970 if (!err) err = map_conditional(exports, "FEATURE_TOGGLE", 0);
971 #endif /* ndef FEATURE_TOGGLE */
974 if (!err) err = map_conditional(exports, "FEATURE_TRUST", 1);
975 #else /* ifndef FEATURE_TRUST */
976 if (!err) err = map_conditional(exports, "FEATURE_TRUST", 0);
977 #endif /* ndef FEATURE_TRUST */
980 if (!err) err = map_conditional(exports, "REGEX_GNU", 1);
981 #else /* ifndef REGEX_GNU */
982 if (!err) err = map_conditional(exports, "REGEX_GNU", 0);
983 #endif /* def REGEX_GNU */
986 if (!err) err = map_conditional(exports, "REGEX_PCRE", 1);
987 #else /* ifndef REGEX_PCRE */
988 if (!err) err = map_conditional(exports, "REGEX_PCRE", 0);
989 #endif /* def REGEX_PCRE */
992 if (!err) err = map_conditional(exports, "STATIC_PCRE", 1);
993 #else /* ifndef STATIC_PCRE */
994 if (!err) err = map_conditional(exports, "STATIC_PCRE", 0);
995 #endif /* ndef STATIC_PCRE */
998 if (!err) err = map_conditional(exports, "STATIC_PCRS", 1);
999 #else /* ifndef STATIC_PCRS */
1000 if (!err) err = map_conditional(exports, "STATIC_PCRS", 0);
1001 #endif /* ndef STATIC_PCRS */
1003 if (!err) err = map(exports, "FORCE_PREFIX", 1, FORCE_PREFIX, 1);
1009 /*********************************************************************
1011 * Function : show_rcs
1013 * Description : Create a string with the rcs info for all sourcefiles
1017 * Returns : A string, or NULL on out-of-memory.
1019 *********************************************************************/
1020 static char *show_rcs(void)
1022 char *result = strdup("");
1023 char buf[BUFFER_SIZE];
1025 /* Instead of including *all* dot h's in the project (thus creating a
1026 * tremendous amount of dependencies), I will concede to declaring them
1027 * as extern's. This forces the developer to add to this list, but oh well.
1030 #define SHOW_RCS(__x) \
1032 extern const char __x[]; \
1033 sprintf(buf, "%s\n", __x); \
1034 string_append(&result, buf); \
1037 /* In alphabetical order */
1038 SHOW_RCS(actions_h_rcs)
1039 SHOW_RCS(actions_rcs)
1042 #ifdef FEATURE_CGI_EDIT_ACTIONS
1043 SHOW_RCS(cgiedit_h_rcs)
1044 SHOW_RCS(cgiedit_rcs)
1045 #endif /* def FEATURE_CGI_EDIT_ACTIONS */
1046 SHOW_RCS(cgisimple_h_rcs)
1047 SHOW_RCS(cgisimple_rcs)
1049 SHOW_RCS(cygwin_h_rcs)
1051 SHOW_RCS(deanimate_h_rcs)
1052 SHOW_RCS(deanimate_rcs)
1053 SHOW_RCS(encode_h_rcs)
1054 SHOW_RCS(encode_rcs)
1055 SHOW_RCS(errlog_h_rcs)
1056 SHOW_RCS(errlog_rcs)
1057 SHOW_RCS(filters_h_rcs)
1058 SHOW_RCS(filters_rcs)
1059 SHOW_RCS(gateway_h_rcs)
1060 SHOW_RCS(gateway_rcs)
1062 SHOW_RCS(gnu_regex_h_rcs)
1063 SHOW_RCS(gnu_regex_rcs)
1064 #endif /* def GNU_REGEX */
1065 SHOW_RCS(jbsockets_h_rcs)
1066 SHOW_RCS(jbsockets_rcs)
1069 #ifdef FEATURE_KILL_POPUPS
1070 SHOW_RCS(killpopup_h_rcs)
1071 SHOW_RCS(killpopup_rcs)
1072 #endif /* def FEATURE_KILL_POPUPS */
1073 SHOW_RCS(list_h_rcs)
1075 SHOW_RCS(loadcfg_h_rcs)
1076 SHOW_RCS(loadcfg_rcs)
1077 SHOW_RCS(loaders_h_rcs)
1078 SHOW_RCS(loaders_rcs)
1079 SHOW_RCS(miscutil_h_rcs)
1080 SHOW_RCS(miscutil_rcs)
1081 SHOW_RCS(parsers_h_rcs)
1082 SHOW_RCS(parsers_rcs)
1084 SHOW_RCS(pcrs_h_rcs)
1085 SHOW_RCS(project_h_rcs)
1086 SHOW_RCS(ssplit_h_rcs)
1087 SHOW_RCS(ssplit_rcs)
1089 #ifndef _WIN_CONSOLE
1090 SHOW_RCS(w32log_h_rcs)
1091 SHOW_RCS(w32log_rcs)
1092 SHOW_RCS(w32res_h_rcs)
1093 SHOW_RCS(w32taskbar_h_rcs)
1094 SHOW_RCS(w32taskbar_rcs)
1095 #endif /* ndef _WIN_CONSOLE */
1096 SHOW_RCS(win32_h_rcs)
1098 #endif /* def _WIN32 */