summaryrefslogtreecommitdiff
path: root/src/include/cctk_ActiveThorns.h
blob: 2ed0b4ebed9db00b07d1d6549726083463fd25a3 (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
36
37
38
39
40
41
42
43
44
 /*@@
   @header    cctk_ActiveThorns.h
   @date      Sun Jul  4 17:39:50 1999
   @author    Tom Goodale
   @desc 
   
   @enddesc
   @version $Header$
 @@*/

#ifndef __CCTK_ACTIVETHORNS_H_
#define __CCTK_ACTIVETHORNS_H_

#include "SKBinTree.h"   
#include "util_StringList.h"

#ifdef __cplusplus 
extern "C" {
#endif

int         CCTK_IsThornActive(const char *name);
int         CCTK_IsThornCompiled(const char *name);
int         CCTK_IsImplementationActive(const char *name);
int         CCTK_IsImplementationCompiled(const char *name);
const char *CCTK_ActivatingThorn(const char *imp);

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

const char *CCTK_ThornImplementation(const char *name);
const char *CCTK_ImplementationThorn(const char *name);

uStringList *CCTK_ImplementationRequires(const char *imp);

int CCTK_NumCompiledThorns(void);
int CCTK_NumCompiledImplementations(void);
const char *CCTK_CompiledThorn(int thorn_index);
const char *CCTK_CompiledImplementation(int impl_index);

#ifdef __cplusplus 
}
#endif

#endif /* _CCTK_ACTIVETHORNS_H_ */