blob: efad2019d8bbf23c011372f2cfe558b48f19b95f (
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
49
|
#ifndef _ELLBASE_H_
#define _ELLBASE_H_
#define ELL_NO 0
#define ELL_YES 1
#define ELL_ISNOKEY -1
#define ELLCREATE_FAILED -1
#define ELLCREATE_TWICE -2
#define ELLGET_NOKEY -1
#define ELLGET_BADTYPE -2
#define ELLGET_NOTSET -3
#define ELLSET_FAILED -1
#define ELLSET_BADTYPE -2
#ifdef CCODE
#ifdef __cplusplus
extern "C" {
#endif
int Ell_CreateKey(int vartype, const char *keychain);
int Ell_IsKey(const char *keychain);
int Ell_UnsetKey(const char *keychain);
int Ell_DeleteKey(const char *keychain);
int Ell_SetRealKey(CCTK_REAL value, const char *keychain);
int Ell_SetIntKey(CCTK_INT value, const char *keychain);
int Ell_SetStrKey(char *value, const char *keychain);
int Ell_GetRealKey(CCTK_REAL *value, const char *keychain);
int Ell_GetIntKey(CCTK_INT *value,const char *keychain);
int Ell_GetStrKey(char *value, const char *keychain);
#ifdef __cplusplus
}
#endif
#endif
#endif
|