summaryrefslogtreecommitdiff
path: root/src/include/ActiveThorns.h
blob: eb1f2f60e4b735c5f380ec6c02f1dbdf794bd16e (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
 /*@@
   @header    ActiveThorns.h
   @date      Sun Jul  4 17:39:50 1999
   @author    Tom Goodale
   @desc 
   
   @enddesc
   @version $Header$
 @@*/

#ifndef __ACTIVETHORNS_H_
#define __ACTIVETHORNS_H_

#ifdef __cplusplus 
extern "C" {
#endif

int CCTKi_RegisterThorn(const char *name, const char *imp);
int CCTKi_ActivateThorn(const char *name);
int CCTK_IsThornActive(const char *name);
int CCTK_IsImplementationActive(const char *name);
int CCTKi_ListThorns(FILE *file, const char *format, int active);
int CCTKi_ListImplementations(FILE *file, const char *format, int active);
const char *CCTK_ActivatingThorn(const char *imp);

  /* FIXME - should return a list or something */
t_sktree *CCTK_ImpThornList(const char *imp);


#ifdef __cplusplus 
}
#endif

#endif /* _ACTIVETHORNS_H_ */