28 #ifndef LUMIERA_CONFIG_INTERFACE_H 29 #define LUMIERA_CONFIG_INTERFACE_H 37 lumiera_config_interface_init (
void);
40 lumiera_config_interface_destroy (
void);
47 LUMIERA_INTERFACE_SLOT (
int, load, (
const char* file)),
48 LUMIERA_INTERFACE_SLOT (
int, save, (
void)),
49 LUMIERA_INTERFACE_SLOT (
int, purge, (
const char* filename)),
50 LUMIERA_INTERFACE_SLOT (
void, dump, (FILE* out)),
51 LUMIERA_INTERFACE_SLOT (
int, setdefault, (
const char* line)),
52 LUMIERA_INTERFACE_SLOT (
int, reset, (
const char* key)),
53 LUMIERA_INTERFACE_SLOT (
int, info, (
const char* key,
const char** filename,
unsigned* line)),
55 LUMIERA_INTERFACE_SLOT (
const char*, wordlist_get_nth, (
const char* key,
unsigned nth,
const char* delims)),
56 LUMIERA_INTERFACE_SLOT (
int, wordlist_find, (
const char* key,
const char* value,
const char* delims)),
57 LUMIERA_INTERFACE_SLOT (
int, wordlist_replace,
58 (
const char* key,
const char* value,
const char* subst1,
const char* subst2,
const char* delims)),
59 LUMIERA_INTERFACE_SLOT (
int, wordlist_add, (
const char* key,
const char* value,
const char* delims)),
61 LUMIERA_INTERFACE_SLOT (
int, link_get, (
const char* key,
const char** value)),
62 LUMIERA_INTERFACE_SLOT (
int, link_set, (
const char* key,
const char** value)),
63 LUMIERA_INTERFACE_SLOT (
int, number_get, (
const char* key,
long long* value)),
64 LUMIERA_INTERFACE_SLOT (
int, number_set, (
const char* key,
long long* value)),
65 LUMIERA_INTERFACE_SLOT (
int, real_get, (
const char* key,
long double* value)),
66 LUMIERA_INTERFACE_SLOT (
int, real_set, (
const char* key,
long double* value)),
67 LUMIERA_INTERFACE_SLOT (
int, string_get, (
const char* key,
const char** value)),
68 LUMIERA_INTERFACE_SLOT (
int, string_set, (
const char* key,
const char** value)),
69 LUMIERA_INTERFACE_SLOT (
int, wordlist_get, (
const char* key,
const char** value)),
70 LUMIERA_INTERFACE_SLOT (
int, wordlist_set, (
const char* key,
const char** value)),
71 LUMIERA_INTERFACE_SLOT (
int, word_get, (
const char* key,
const char** value)),
72 LUMIERA_INTERFACE_SLOT (
int, word_set, (
const char* key,
const char** value)),
73 LUMIERA_INTERFACE_SLOT (
int, bool_get, (
const char* key,
int* value)),
74 LUMIERA_INTERFACE_SLOT (
int, bool_set, (
const char* key,
int* value)),
#define LUMIERA_INTERFACE_DECLARE(name, version,...)
Declare an interface.
Lumiera interface macros and structures.