openbsd-ports/net/rrdtool/patches/patch-cgilib-0_4_cgi_h
2004-06-08 20:21:24 +00:00

31 lines
722 B
Plaintext

$OpenBSD: patch-cgilib-0_4_cgi_h,v 1.1 2004/06/08 20:21:24 danh Exp $
--- cgilib-0.4/cgi.h.orig 2002-02-26 05:21:17.000000000 -0500
+++ cgilib-0.4/cgi.h 2004-06-08 12:23:43.000000000 -0400
@@ -29,7 +29,7 @@ typedef struct cgi_s {
*
* returns a valid CGI Header (Content-type...)
*/
-void cgiHeader ();
+void cgiHeader (void);
/* cgiDebug
*
@@ -41,7 +41,7 @@ void cgiDebug (int level, int where);
*
* Reads in variables set via POST or stdin
*/
-s_cgi **cgiInit ();
+s_cgi **cgiInit (void);
/* cgiGetValue
*
@@ -56,4 +56,8 @@ char *cgiGetValue(s_cgi **parms, const c
*/
void cgiRedirect (const char *url);
+/* cgiDecodeString
+ */
+char *cgiDecodeString (char *text);
+
#endif /* _CGI_H_ */