1 #ifndef CGISIMPLE_H_INCLUDED
2 #define CGISIMPLE_H_INCLUDED
3 #define CGISIMPLE_H_VERSION "$Id: cgi.h,v 1.15 2001/09/16 15:02:35 jongfoster Exp $"
4 /*********************************************************************
6 * File : $Source: /cvsroot/ijbswa/current/cgi.h,v $
8 * Purpose : Declares functions to intercept request, generate
9 * html or gif answers, and to compose HTTP resonses.
11 * Functions declared include:
14 * Copyright : Written by and Copyright (C) 2001 the SourceForge
15 * IJBSWA team. http://ijbswa.sourceforge.net
17 * Based on the Internet Junkbuster originally written
18 * by and Copyright (C) 1997 Anonymous Coders and
19 * Junkbusters Corporation. http://www.junkbusters.com
21 * This program is free software; you can redistribute it
22 * and/or modify it under the terms of the GNU General
23 * Public License as published by the Free Software
24 * Foundation; either version 2 of the License, or (at
25 * your option) any later version.
27 * This program is distributed in the hope that it will
28 * be useful, but WITHOUT ANY WARRANTY; without even the
29 * implied warranty of MERCHANTABILITY or FITNESS FOR A
30 * PARTICULAR PURPOSE. See the GNU General Public
31 * License for more details.
33 * The GNU General Public License should be included with
34 * this file. If not, you can view it at
35 * http://www.gnu.org/copyleft/gpl.html
36 * or write to the Free Software Foundation, Inc., 59
37 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
42 **********************************************************************/
54 extern int cgi_default (struct client_state *csp,
55 struct http_response *rsp,
56 struct map *parameters);
57 extern int cgi_robots_txt (struct client_state *csp,
58 struct http_response *rsp,
59 struct map *parameters);
60 extern int cgi_send_banner (struct client_state *csp,
61 struct http_response *rsp,
62 struct map *parameters);
63 extern int cgi_show_status (struct client_state *csp,
64 struct http_response *rsp,
65 struct map *parameters);
66 extern int cgi_show_url_info (struct client_state *csp,
67 struct http_response *rsp,
68 struct map *parameters);
69 extern int cgi_show_version (struct client_state *csp,
70 struct http_response *rsp,
71 struct map *parameters);
73 /* Revision control strings from this header and associated .c file */
74 extern const char cgisimple_rcs[];
75 extern const char cgisimple_h_rcs[];
81 #endif /* ndef CGISIMPLE_H_INCLUDED */