diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1998-09-28 16:39:42 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1998-09-28 16:39:42 +0000 |
commit | 549a5b50599aa8e5d9e1aafc1b7ed224a4c735c0 (patch) | |
tree | e3572a9b4ed71de4ba8ea9fb93d8eb333abafc7a /src/main/CallStartupFunctions.c | |
parent | 0c6314f6fceb88500a740c5313dd55f09f9c771c (diff) |
Basic structure now implemented. Still needs all the code behind the skeleton.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@7 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CallStartupFunctions.c')
-rw-r--r-- | src/main/CallStartupFunctions.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/CallStartupFunctions.c b/src/main/CallStartupFunctions.c new file mode 100644 index 00000000..409ea9b6 --- /dev/null +++ b/src/main/CallStartupFunctions.c @@ -0,0 +1,56 @@ + /*@@ + @file CallStartupFunctions.c + @date Mon Sep 28 14:16:19 1998 + @author Tom Goodale + @desc + Contains routines to deal with thorn startup functions. + @enddesc + @@*/ + +#include <stdio.h> + +#include "flesh.h" + +static char *rcsid = "$Id$"; + +int (*Initialise)(tFleshConfig *); + +int (*Evolve)(tFleshConfig *); + +int (*Shutdown)(tFleshConfig *); + +int dummy(tFleshConfig *); + + /*@@ + @routine CallStartupFunctions + @date Mon Sep 28 14:24:39 1998 + @author Tom Goodale + @desc + + @enddesc + @calls + @calledby + @history + + @endhistory + +@@*/ +int CallStartupFunctions(tFleshConfig *ConfigData) +{ + + Initialise = dummy; + + Evolve = dummy; + + Shutdown = dummy; + + return 0; +} + + +int dummy(tFleshConfig *foo) +{ + printf("I'm in dummy\n"); + + return 0; +} |