37 #ifndef LUMIERA_CONFIG_INTERFACE_H 38 #define LUMIERA_CONFIG_INTERFACE_H 46 lumiera_config_interface_init (
void);
49 lumiera_config_interface_destroy (
void);
56 LUMIERA_INTERFACE_SLOT (
int, load, (
const char* file)),
57 LUMIERA_INTERFACE_SLOT (
int, save, (
void)),
58 LUMIERA_INTERFACE_SLOT (
int, purge, (
const char* filename)),
59 LUMIERA_INTERFACE_SLOT (
void, dump, (FILE* out)),
60 LUMIERA_INTERFACE_SLOT (
int, setdefault, (
const char* line)),
61 LUMIERA_INTERFACE_SLOT (
int, reset, (
const char* key)),
62 LUMIERA_INTERFACE_SLOT (
int, info, (
const char* key,
const char** filename,
unsigned* line)),
64 LUMIERA_INTERFACE_SLOT (
const char*, wordlist_get_nth, (
const char* key,
unsigned nth,
const char* delims)),
65 LUMIERA_INTERFACE_SLOT (
int, wordlist_find, (
const char* key,
const char* value,
const char* delims)),
66 LUMIERA_INTERFACE_SLOT (
int, wordlist_replace,
67 (
const char* key,
const char* value,
const char* subst1,
const char* subst2,
const char* delims)),
68 LUMIERA_INTERFACE_SLOT (
int, wordlist_add, (
const char* key,
const char* value,
const char* delims)),
70 LUMIERA_INTERFACE_SLOT (
int, link_get, (
const char* key,
const char** value)),
71 LUMIERA_INTERFACE_SLOT (
int, link_set, (
const char* key,
const char** value)),
72 LUMIERA_INTERFACE_SLOT (
int, number_get, (
const char* key,
long long* value)),
73 LUMIERA_INTERFACE_SLOT (
int, number_set, (
const char* key,
long long* value)),
74 LUMIERA_INTERFACE_SLOT (
int, real_get, (
const char* key,
long double* value)),
75 LUMIERA_INTERFACE_SLOT (
int, real_set, (
const char* key,
long double* value)),
76 LUMIERA_INTERFACE_SLOT (
int, string_get, (
const char* key,
const char** value)),
77 LUMIERA_INTERFACE_SLOT (
int, string_set, (
const char* key,
const char** value)),
78 LUMIERA_INTERFACE_SLOT (
int, wordlist_get, (
const char* key,
const char** value)),
79 LUMIERA_INTERFACE_SLOT (
int, wordlist_set, (
const char* key,
const char** value)),
80 LUMIERA_INTERFACE_SLOT (
int, word_get, (
const char* key,
const char** value)),
81 LUMIERA_INTERFACE_SLOT (
int, word_set, (
const char* key,
const char** value)),
82 LUMIERA_INTERFACE_SLOT (
int, bool_get, (
const char* key,
int* value)),
83 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.