diff options
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/storage.c b/src/storage.c index e7959aae..89c6c146 100644 --- a/src/storage.c +++ b/src/storage.c @@ -28,6 +28,7 @@ #include "connman.h" #define PROFILE_SUFFIX "profile" +#define CONFIG_SUFFIX "config" static GSList *storage_list = NULL; @@ -163,6 +164,22 @@ void __connman_storage_delete_profile(const char *ident) __connman_storage_delete(ident, PROFILE_SUFFIX); } +GKeyFile *__connman_storage_open_config(const char *ident) +{ + return __connman_storage_open(ident, CONFIG_SUFFIX); +} + +void __connman_storage_close_config(const char *ident, + GKeyFile *keyfile, gboolean save) +{ + __connman_storage_close(ident, CONFIG_SUFFIX, keyfile, save); +} + +void __connman_storage_delete_config(const char *ident) +{ + __connman_storage_delete(ident, CONFIG_SUFFIX); +} + int __connman_storage_init_profile(void) { GSList *list; |