summaryrefslogtreecommitdiff
path: root/src/include/cctk_ActiveThorns.h
blob: 968402b65a583897add759162b29292e4afb51fa (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
 /*@@
   @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 <stdio.h>
#include "SKBinTree.h"   

#ifdef __cplusplus 
extern "C" {
#endif

int         CCTK_IsThornActive(const char *name);
int         CCTK_IsThornCompiled(const char *name);
int         CCTK_IsImplementationActive(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);

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

#ifdef __cplusplus 
}
#endif

#endif /* _CCTK_ACTIVETHORNS_H_ */