-#ifndef _CGI_H
-#define _CGI_H
-#define CGI_H_VERSION "$Id: cgi.h,v 1.5 2001/06/29 13:22:44 oes Exp $"
+#ifndef CGI_H_INCLUDED
+#define CGI_H_INCLUDED
+#define CGI_H_VERSION "$Id: cgi.h,v 1.9 2001/08/01 00:17:54 jongfoster Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.h,v $
*
* Revisions :
* $Log: cgi.h,v $
+ * Revision 1.9 2001/08/01 00:17:54 jongfoster
+ * Adding prototype for map_conditional
+ *
+ * Revision 1.8 2001/07/30 22:08:36 jongfoster
+ * Tidying up #defines:
+ * - All feature #defines are now of the form FEATURE_xxx
+ * - Permanently turned off WIN_GUI_EDIT
+ * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS
+ *
+ * Revision 1.7 2001/07/29 18:43:08 jongfoster
+ * Changing #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to
+ * ANSI C rules.
+ *
+ * Revision 1.6 2001/06/29 21:45:41 oes
+ * Indentation, CRLF->LF, Tab-> Space
+ *
* Revision 1.5 2001/06/29 13:22:44 oes
* - Cleaned up
* - Added new functions: default_exports(), make_menu(),
/*
* CGI functions
*/
+extern int cgi_show_version(struct client_state *csp, struct http_response *rsp,
+ struct map *parameters);
extern int cgi_default(struct client_state *csp, struct http_response *rsp,
struct map *parameters);
extern int cgi_show_status(struct client_state *csp, struct http_response *rsp,
extern struct map *default_exports(struct client_state *csp, char *caller);
extern struct map *map_block_killer(struct map *map, char *name);
+extern struct map *map_conditional(struct map *exports, char *name, int choose_first);
extern char *fill_template(struct client_state *csp, const char *template, struct map *exports);
extern char *make_menu(const char *self);
extern char *dump_map(struct map *map);
-#ifdef STATISTICS
+#ifdef FEATURE_STATISTICS
extern struct map *add_stats(struct map *exports);
-#endif /* def STATISTICS */
+#endif /* def FEATURE_STATISTICS */
/*
} /* extern "C" */
#endif
-#endif /* ndef _CGI_H */
+#endif /* ndef CGI_H_INCLUDED */
/*
Local Variables: