From bf0001377ee0765926ae1848ccab76f5cdb5608a Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 4 Jan 2002 13:00:56 +0000 Subject: 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 --- src/http_Content.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http_Content.h') 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 } -- cgit v1.2.3