aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c48
1 files changed, 26 insertions, 22 deletions
diff --git a/src/Startup.c b/src/Startup.c
index cced047..8f5b2e5 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -2,45 +2,50 @@
@file Startup.c
@date Wed Sep 13 21:26:56 2000
@author Tom Goodale
- @desc
-
- @enddesc
- @version $Header$
+ @desc
+ Thorn HTTPDExtra's startup routines.
+ @enddesc
+ @version $Id$
@@*/
-#include <stdio.h>
-#include <stdlib.h>
-
#include "cctk.h"
-
-#include "cctk_Arguments.h"
-#include "cctk_Parameters.h"
-
#include "httpextra_HostNames.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusConnect_HTTPDExtra_Startup_c)
+
+/********************************************************************
+ ******************** External Routines ************************
+ ********************************************************************/
int HTTPUTILS_Startup(void);
+
/*@@
@routine HTTP_Startup
@date Wed Sep 13 21:26:56 2000
@author Tom Goodale
- @desc
- Startup routine for the webserver.
- @enddesc
- @calls
- @calledby
- @history
-
- @endhistory
-
+ @desc
+ Startup routine for the webserver.
+ @enddesc
+ @calls HTTPDExtra_CollateHostData
+ HTTPUTILS_RegisterPages
+ HTTP_util_RegisterIOPages
+ HTTPDExtra_RegisterProcessorsPages
+
+ @returntype int
+ @returndesc
+ 0 for success
+ @endreturndesc
@@*/
int HTTPUTILS_Startup(void)
{
- DECLARE_CCTK_PARAMETERS
+ /* FIXME: should put this prototype into a header file */
+ extern int HTTPUTILS_RegisterPages(void);
+ extern int HTTP_util_RegisterIOPages(void);
+ extern int HTTPDExtra_RegisterProcessorsPages(void);
+
HTTPDExtra_CollateHostData();
@@ -52,4 +57,3 @@ int HTTPUTILS_Startup(void)
return 0;
}
-