diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1998-09-29 10:16:51 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1998-09-29 10:16:51 +0000 |
commit | e209cf56f6332b87f1e0b6ff030def8c08cf2ee5 (patch) | |
tree | c3f682e65851bf748dd438fb03d220cff3d04e0b /src/include/CactusRegister.h | |
parent | 20ee8bd50c4254719e22612d2414556fe040ccb0 (diff) |
Added a function to create a keyed function array.
New header file to hold stuff for all core registration.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@10 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/CactusRegister.h')
-rw-r--r-- | src/include/CactusRegister.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/CactusRegister.h b/src/include/CactusRegister.h new file mode 100644 index 00000000..2db02a77 --- /dev/null +++ b/src/include/CactusRegister.h @@ -0,0 +1,27 @@ + /*@@ + @header CactusRegister.h + @date Tue Sep 29 11:37:03 1998 + @author Tom Goodale + @desc + Functions used to register things in cactus. + @enddesc + @@*/ + +/* $Id$ */ + +#ifndef _CACTUS_REGISTRY_H_ +#define _CACTUS_REGISTRY_H_ + +#ifdef _cplusplus +extern "C" { +#endif + +int RegisterMainFunction(int key, int (*func)(tFleshConfig *)); + +int SetupMainFunctions(void); + +#ifdef _cplusplus + } +#endif + +#endif |