aboutsummaryrefslogtreecommitdiff
path: root/src/Slicing.h
blob: d7031db3986069b87685326c2b9b076fba165bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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  (*timetoslice)(cGH*);
};

int Einstein_RegisterSlicing(const char *name);

int Einstein_SetSliceActive(int handle,int flag);

int Einstein_RegisterTimeToSlice(int handle,void (*func)(cGH *));

#ifdef __cplusplus 
}
#endif