aboutsummaryrefslogtreecommitdiff
path: root/src/http_Request.h
diff options
context:
space:
mode:
authortradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2002-01-04 13:00:56 +0000
committertradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2002-01-04 13:00:56 +0000
commitbf0001377ee0765926ae1848ccab76f5cdb5608a (patch)
tree708237a069b1617cdf33adf88286195d7d8e7044 /src/http_Request.h
parentaf5a1374223b0bd5f5041fd9d7ca38765c1be95d (diff)
Callback functions, which serve registered pages, take a 'const cGH *'
argument now. Also fixed a small memory leak in redirection code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@145 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/http_Request.h')
-rw-r--r--src/http_Request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_Request.h b/src/http_Request.h
index cb2a4f5..02cb600 100644
--- a/src/http_Request.h
+++ b/src/http_Request.h
@@ -67,7 +67,7 @@ extern "C"
{
#endif
-int HTTP_RegisterPage(const char *path, int (*function)(cGH *, httpRequest *, void *), void *data);
+int HTTP_RegisterPage(const char *path, int (*function)(const cGH *, httpRequest *, void *), void *data);
const char *HTTP_ArgumentValue(const httpRequest *request, const char *arg);