diff options
author | tradke <tradke@61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1> | 2002-01-04 13:02:29 +0000 |
---|---|---|
committer | tradke <tradke@61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1> | 2002-01-04 13:02:29 +0000 |
commit | 4026a0a6a3f1dc09bf00351abf3c882d14f7d23b (patch) | |
tree | a126366f765999aed5901efe5dc8141612133735 | |
parent | eaaafc241fb922e87f7f188b1985c7600ad9df0e (diff) |
Callback functions, which serve registered pages, take a 'const cGH *'
argument now.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPDExtra/trunk@35 61ea717e-8e0c-4c3c-b38e-e9c67f54f1f1
-rw-r--r-- | src/IO.c | 12 | ||||
-rw-r--r-- | src/Processors.c | 4 |
2 files changed, 8 insertions, 8 deletions
@@ -55,10 +55,10 @@ struct httpuMimeType static int IOFileListener(const cGH *GH, const char *filename, const ioAdvertisedFileDesc *description); -static int AdvertisedFilePage(cGH *cctkGH, httpRequest *request, void *data); -static int ViewportFilePage(cGH *cctkGH, httpRequest *request, void *data); +static int AdvertisedFilePage(const cGH *cctkGH, httpRequest *request, void *data); +static int ViewportFilePage(const cGH *cctkGH, httpRequest *request, void *data); -static int SendFilePage(cGH *cctkGH, httpRequest *request, void *data); +static int SendFilePage(const cGH *cctkGH, httpRequest *request, void *data); /******************************************************************** ********************* Other Routine Prototypes ********************* @@ -197,7 +197,7 @@ static int IOFileListener(const cGH *GH, const char *filename, @endhistory @@*/ -static int AdvertisedFilePage(cGH *cctkGH, httpRequest *request, void *data) +static int AdvertisedFilePage(const cGH *cctkGH, httpRequest *request, void *data) { int retval; char message[4098]; @@ -289,7 +289,7 @@ static int AdvertisedFilePage(cGH *cctkGH, httpRequest *request, void *data) @endhistory @@*/ -static int SendFilePage(cGH *cctkGH, httpRequest *request, void *data) +static int SendFilePage(const cGH *cctkGH, httpRequest *request, void *data) { char message[4098]; struct httpuFileList *list; @@ -374,7 +374,7 @@ static int SendFilePage(cGH *cctkGH, httpRequest *request, void *data) @endhistory @@*/ -static int ViewportFilePage(cGH *cctkGH, httpRequest *request, void *data) +static int ViewportFilePage(const cGH *cctkGH, httpRequest *request, void *data) { int retval; int foundone; diff --git a/src/Processors.c b/src/Processors.c index a954287..737b350 100644 --- a/src/Processors.c +++ b/src/Processors.c @@ -30,7 +30,7 @@ CCTK_FILEVERSION(CactusConnect_HTTPDExtra_Processors_c) ********************* Local Routine Prototypes ********************* ********************************************************************/ -static int ProcessorsPage(cGH *cctkGH, httpRequest *request, void *data); +static int ProcessorsPage(const cGH *cctkGH, httpRequest *request, void *data); /******************************************************************** @@ -89,7 +89,7 @@ int HTTPDExtra_RegisterProcessorsPages(void) @calls @calledby @@*/ -static int ProcessorsPage(cGH *cctkGH, httpRequest *request, void *data) +static int ProcessorsPage(const cGH *cctkGH, httpRequest *request, void *data) { int retval; int nprocs,np; |