aboutsummaryrefslogtreecommitdiff
path: root/src/Slicing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slicing.h')
-rw-r--r--src/Slicing.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Slicing.h b/src/Slicing.h
new file mode 100644
index 0000000..174e3d6
--- /dev/null
+++ b/src/Slicing.h
@@ -0,0 +1,35 @@
+ /*@@
+ @file Slicing.h
+ @date Wed Jul 14 16:20:03 1999
+ @author Gerd Lanfermann
+ @desc
+ Prototypes and structure for Einstein_slicing.
+ @enddesc
+ @@*/
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+struct Einstein_slicing
+{
+ char * name;
+ int param_active;
+ void *(*func) timetoslice;
+};
+
+int Einstein_RegsiterSlicing(const char *name);
+
+int Einstein_SetSliceActive(int handle,int flag);
+
+int Einstein_RegisterTimeToSlice(int handle, void *(*func)(tfleshConfig *, int, cGH));
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+