sc68fordevelopers  2.2.1
conf68.h
Go to the documentation of this file.
1 
11 #ifndef _CONF68_H_
12 #define _CONF68_H_
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
27 typedef int SC68config_t[8];
28 
31 int SC68config_valid(SC68config_t * conf);
32 
40 int SC68config_get_id(const char * name);
41 
44 int SC68config_load(SC68config_t * conf);
45 
48 int SC68config_save(SC68config_t * conf);
49 
52 int SC68config_default(SC68config_t * conf);
53 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* #ifndef _CONF68_H_ */
int SC68config_valid(SC68config_t *conf)
Check config values and correct invalid ones.
int SC68config_t[8]
Config array.
Definition: conf68.h:27
int SC68config_default(SC68config_t *conf)
Fill config struct with default value.
int SC68config_load(SC68config_t *conf)
Load config from file.
int SC68config_save(SC68config_t *conf)
Save config into file.
int SC68config_get_id(const char *name)
Get index of named field in SC68config_t array.