diff options
author | tradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2002-01-04 13:00:56 +0000 |
---|---|---|
committer | tradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2002-01-04 13:00:56 +0000 |
commit | bf0001377ee0765926ae1848ccab76f5cdb5608a (patch) | |
tree | 708237a069b1617cdf33adf88286195d7d8e7044 /src/http_Content.h | |
parent | af5a1374223b0bd5f5041fd9d7ca38765c1be95d (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_Content.h')
-rw-r--r-- | src/http_Content.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http_Content.h b/src/http_Content.h index c79b7a8..40c2777 100644 --- a/src/http_Content.h +++ b/src/http_Content.h @@ -26,8 +26,8 @@ int HTTP_ContentLink(const char *URL, int HTTP_ContentSendFromFile(httpRequest *request, int filedes); -int HTTP_ContentHeader(cGH *cctkGH, int choice, int len, char *mess, char *menu); -int HTTP_ContentFooter(cGH *cctkGH, int choice, int len, char *mess); +int HTTP_ContentHeader(const cGH *cctkGH, int choice, int len, char *mess, char *menu); +int HTTP_ContentFooter(const cGH *cctkGH, int choice, int len, char *mess); #ifdef __cplusplus } |