aboutsummaryrefslogtreecommitdiff
path: root/src/Parameters.c
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/Parameters.c
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/Parameters.c')
-rw-r--r--src/Parameters.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Parameters.c b/src/Parameters.c
index 6312e05..f9e2c5a 100644
--- a/src/Parameters.c
+++ b/src/Parameters.c
@@ -46,9 +46,9 @@ CCTK_FILEVERSION(CactusConnect_HTTPD_Parameters_c)
********************* Local Routine Prototypes *********************
********************************************************************/
-static int MainParameterPage(cGH *cctkGH, httpRequest *request, void *data);
-static int ThornParameterPage(cGH *cctkGH, httpRequest *request, void *data);
-static int ParameterPage(cGH *cctkGH, httpRequest *request, void *data);
+static int MainParameterPage(const cGH *cctkGH, httpRequest *request, void *data);
+static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *data);
+static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data);
/********************************************************************
@@ -166,7 +166,7 @@ int HTTPi_RegisterParameterPages(void)
Ed Seidel.
@endhistory
@@*/
-static int MainParameterPage(cGH *cctkGH, httpRequest *request, void *data)
+static int MainParameterPage(const cGH *cctkGH, httpRequest *request, void *data)
{
int retval;
char message[4098];
@@ -266,7 +266,7 @@ static int MainParameterPage(cGH *cctkGH, httpRequest *request, void *data)
@endhistory
@@*/
-static int ThornParameterPage(cGH *cctkGH, httpRequest *request, void *data)
+static int ThornParameterPage(const cGH *cctkGH, httpRequest *request, void *data)
{
int retval=0;
int i;
@@ -661,7 +661,7 @@ static int ThornParameterPage(cGH *cctkGH, httpRequest *request, void *data)
@endhistory
@@*/
-static int ParameterPage(cGH *cctkGH, httpRequest *request, void *data)
+static int ParameterPage(const cGH *cctkGH, httpRequest *request, void *data)
{
int retval=0;
char message[10000];