diff options
-rw-r--r-- | src/include/cctki_Schedule.h | 66 | ||||
-rw-r--r-- | src/include/cctki_ScheduleBindings.h | 63 |
2 files changed, 72 insertions, 57 deletions
diff --git a/src/include/cctki_Schedule.h b/src/include/cctki_Schedule.h index 1a3f59c5..f2662312 100644 --- a/src/include/cctki_Schedule.h +++ b/src/include/cctki_Schedule.h @@ -3,7 +3,8 @@ @date Wed Sep 15 22:49:24 1999 @author Tom Goodale @desc - Schedule stuff which can be seen by the rest of the flesh. + Schedule stuff from the core schedule subsystem + which can be seen by the rest of the flesh. @enddesc @version $Header$ @@*/ @@ -27,7 +28,8 @@ typedef struct T_SCHED_MODIFIER #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif /* Routines to create items */ @@ -35,63 +37,13 @@ t_sched_modifier *CCTKi_ScheduleAddModifier(t_sched_modifier *orig, const char *modifier, const char *argument); -int CCTKi_ScheduleFunction - ( - void *function, - const char *name, - const char *thorn, - const char *implementation, - const char *description, - const char *where, - const char *language, - int n_mem_groups, - int n_comm_groups, - int n_trigger_groups, - int n_before, - int n_after, - int n_while, - ... - ); - -int CCTKi_ScheduleGroup - ( - const char *name, - const char *thorn, - const char *implementation, - const char *description, - const char *where, - int n_mem_groups, - int n_comm_groups, - int n_trigger_groups, - int n_before, - int n_after, - int n_while, - ... - ); - -int CCTKi_ScheduleGroupStorage(const char *group); - -int CCTKi_ScheduleGroupComm(const char *group); -int CCTKi_ScheduleTraverse(const char *where, - void *GH, - int (*calling_function)(void *, void *, void *)); - -int CCTKi_ScheduleGHInit(void *GH); - - -int CCTKi_DoScheduleFunction - ( - const char *gname, - const char *fname, - void *func, - t_sched_modifier *modifiers, - void *attributes - ); -t_sched_modifier *CCTKi_DoScheduleAddModifier(t_sched_modifier *orig, - const char *modifier, - const char *argument); +int CCTKi_DoScheduleFunction(const char *gname, + const char *fname, + void *func, + t_sched_modifier *modifiers, + void *attributes); int CCTKi_DoScheduleGroup ( diff --git a/src/include/cctki_ScheduleBindings.h b/src/include/cctki_ScheduleBindings.h new file mode 100644 index 00000000..7b3b6030 --- /dev/null +++ b/src/include/cctki_ScheduleBindings.h @@ -0,0 +1,63 @@ + /*@@ + @header cctki_ScheduleBindings.h + @date Thu Jan 27 10:39:40 2000 + @author Tom Goodale + @desc + Routines which should be called from the bindings and rest of cactus + to do schedule stuff, but is cactus specific, not in the core schedule + subsystem. + @enddesc + @version $Header$ + @@*/ + +#ifndef _CCTKI_SCHEDUULEBINDINGS_H_ +#define _CCTKI_SCHEDUULEBINDINGS_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +int CCTKi_ScheduleFunction(void *function, + const char *name, + const char *thorn, + const char *implementation, + const char *description, + const char *where, + const char *language, + int n_mem_groups, + int n_comm_groups, + int n_trigger_groups, + int n_before, + int n_after, + int n_while, + ...); + +int CCTKi_ScheduleGroup(const char *name, + const char *thorn, + const char *implementation, + const char *description, + const char *where, + int n_mem_groups, + int n_comm_groups, + int n_trigger_groups, + int n_before, + int n_after, + int n_while, + ...); + +int CCTKi_ScheduleGroupStorage(const char *group); + +int CCTKi_ScheduleGroupComm(const char *group); + +int CCTKi_ScheduleTraverse(const char *where, + void *GH, + int (*CallFunction)(cFunctionData *, void *)); + +int CCTKi_ScheduleGHInit(void *GH); + +#ifdef __cplusplus +} +#endif + +#endif /* _CCTKI_SCHEDUULEBINDINGS_H_*/ |