diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-12-15 18:12:46 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-12-15 18:12:46 +0000 |
commit | e5424d9f9a7ce805cf8454f478e2ef3aed26d8c9 (patch) | |
tree | 4d0e7eb5f6534005d9c24520bcbc76109d130602 | |
parent | c1a87241c8f5f590162350730ac4baaa1ccea694 (diff) |
More prototypes to reduce number of warnings.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@109 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r-- | src/Expression.c | 4 | ||||
-rw-r--r-- | src/Startup.c | 11 | ||||
-rw-r--r-- | src/httpd.h | 3 |
3 files changed, 16 insertions, 2 deletions
diff --git a/src/Expression.c b/src/Expression.c index da544f9..9876417 100644 --- a/src/Expression.c +++ b/src/Expression.c @@ -16,10 +16,12 @@ #include <stdlib.h> #include <string.h> +#include "http_Expression.h" + static char *rcsid = "$Header$"; #ifdef CCTK_FILEVERSION -CCTK_FILEVERSION(DevThorns_httpd_Expression_c) +CCTK_FILEVERSION(CactusConnect_HTTPD_Expression_c) #endif /******************************************************************** diff --git a/src/Startup.c b/src/Startup.c index c34c26b..5c3034d 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -36,10 +36,18 @@ CCTK_FILEVERSION(CactusConnect_HTTPD_Startup_c) ********************* Local Routine Prototypes ********************* ********************************************************************/ -static void * HTTP_THread(void *cctkGH); +static void * HTTP_Thread(void *cctkGH); static void HTTP_SetupPollingThread(cGH *cctkGH); /******************************************************************** + ***************** Scheduled Routine Prototypes ********************* + ********************************************************************/ + +int HTTP_Startup(void); +void HTTP_Work(CCTK_ARGUMENTS); +int HTTP_Shutdown(void); + +/******************************************************************** ********************* Other Routine Prototypes ********************* ********************************************************************/ @@ -129,6 +137,7 @@ int HTTP_Startup(void) @endhistory @@*/ + void HTTP_Work(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS diff --git a/src/httpd.h b/src/httpd.h index 6b8ad23..95485ad 100644 --- a/src/httpd.h +++ b/src/httpd.h @@ -43,6 +43,9 @@ int HTTP_RequestUnsupported(cGH *cctkGH, httpRequest *request); int HTTP_UpdateState(cGH *cctkGH, httpState *state); int HTTP_Terminate(cGH *cctkGH); +/* Content stuff */ +int HTTP_RegisterPages(void); + #ifdef __cplusplus } #endif |