-const char cgisimple_rcs[] = "$Id: cgi.c,v 1.26 2001/09/16 15:47:37 jongfoster Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.1 2001/09/16 17:08:54 jongfoster Exp $";
/*********************************************************************
*
- * File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
+ * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
*
* Purpose : Simple CGIs to get information about JunkBuster's
* status.
* Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Revisions :
- * $Log: cgi.c,v $
+ * $Log: cgisimple.c,v $
+ * Revision 1.1 2001/09/16 17:08:54 jongfoster
+ * Moving simple CGI functions from cgi.c to new file cgisimple.c
+ *
*
**********************************************************************/
\f
* 2 : rsp = http_response data structure for output
* 3 : parameters = map of cgi parameters
*
- * CGI Parameters :
- * type : Selects the type of banner between "trans" and "jb".
- * Defaults to "jb" if absent or != "trans".
+ * CGI Parameters : none
*
* Returns : 0
*
rsp->body = template_load(csp, "show-version");
template_fill(&rsp->body, exports);
free_map(exports);
+
return(0);
}
* 2 : rsp = http_response data structure for output
* 3 : parameters = map of cgi parameters
*
- * CGI Parameters :
- * type : Selects the type of banner between "trans" and "jb".
- * Defaults to "jb" if absent or != "trans".
+ * CGI Parameters : none
*
* Returns : 0
*
enlist_unique_header(rsp->headers, "Expires", buf);
return 0;
+
}
#endif /* ndef STATIC_PCRS */
map(exports, "FORCE_PREFIX", 1, FORCE_PREFIX, 1);
+
}
#undef SHOW_RCS
return(b);
+
}