From 4026a0a6a3f1dc09bf00351abf3c882d14f7d23b Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 4 Jan 2002 13:02:29 +0000 Subject: 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 --- src/IO.c | 12 ++++++------ src/Processors.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/IO.c b/src/IO.c index 4a392cd..ab85da4 100644 --- a/src/IO.c +++ b/src/IO.c @@ -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; -- cgit v1.2.3