New param interface for microSD and EEPROM

This commit is contained in:
Lorenz Meier
2012-10-31 16:31:21 +01:00
parent 8dcde7f8cd
commit 0ddfd7c75c
5 changed files with 141 additions and 108 deletions

View File

@@ -234,6 +234,25 @@ __EXPORT int param_load(int fd);
*/
__EXPORT void param_foreach(void (*func)(void *arg, param_t param), void *arg, bool only_changed);
/**
* Export parameters to the default file name.
*
*
* @param
*/
__EXPORT int param_save_default(void);
/**
* Set the default parameter file name.
*/
__EXPORT int param_set_default_file(const char* filename);
/**
* Import parameters from the default file name.
*/
__EXPORT int param_load_default(void);
/*
* Macros creating static parameter definitions.
*