blob: 707c6d5ad2467bbafbaab5fc193b952f4f13e515 (
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
45
46
47
48
|
/*@@
@header cctki_ActiveThorns.h
@date Sun Jul 4 17:39:50 1999
@author Tom Goodale
@desc
@enddesc
@version $Header$
@@*/
#ifndef __CCTKI_ACTIVETHORNS_H_
#define __CCTKI_ACTIVETHORNS_H_
#ifdef __cplusplus
extern "C" {
#endif
struct iFuncList
{
const char *keyword;
const char *signature;
void (*func)(void);
};
union iAttributeData
{
const char **StringList;
const struct iFuncList *FuncList;
};
struct iAttributeList
{
const char *attribute;
union iAttributeData AttributeData;
};
int CCTKi_RegisterThorn(const struct iAttributeList *attributes);
int CCTKi_ActivateThorn(const char *name);
int CCTKi_PrintThorns(FILE *file, const char *format, int active);
int CCTKi_PrintImps(FILE *file, const char *format, int active);
int CCTKi_ActivateThorns(const char *thornlist);
#ifdef __cplusplus
}
#endif
#endif /* _CCTKI_ACTIVETHORNS_H_ */
|