summaryrefslogtreecommitdiff
path: root/src/include/IOMethods.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/IOMethods.h')
-rw-r--r--src/include/IOMethods.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/IOMethods.h b/src/include/IOMethods.h
index 0718435b..53952b1e 100644
--- a/src/include/IOMethods.h
+++ b/src/include/IOMethods.h
@@ -5,3 +5,10 @@ struct IOMethod
int (*TriggerOutput)(cGH *, int);
int (*TimeToOutput)(cGH *,int);
};
+
+int CCTK_RegisterIOMethod(const char *name);
+int CCTK_RegisterIOMethodOutputGH(int handle, int (*func)(cGH *));
+int CCTK_RegisterIOMethodTimeToOutput(int handle, int (*func)(cGH *, int));
+int CCTK_RegisterIOMethodTriggerOutput(int handle, int (*func)(cGH *, int));
+int CCTK_RegisterIOMethodOutputVarAs(int handle, int (*func)(cGH *,
+ const char *,const char *));