summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/CactusRegister.h27
-rw-r--r--src/include/RegisterKeyedFunction.h2
2 files changed, 29 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
diff --git a/src/include/RegisterKeyedFunction.h b/src/include/RegisterKeyedFunction.h
index 1d0c8c73..c533139d 100644
--- a/src/include/RegisterKeyedFunction.h
+++ b/src/include/RegisterKeyedFunction.h
@@ -24,6 +24,8 @@ int RegisterKeyedFunction(void (*array[])(),
int min, int max,
int key, void (*func)());
+void (**(CreateKeyedFunctionArray(int size)))();
+
#ifdef _cplusplus
}
#endif