summaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index 305c4a54..42707f61 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -34,3 +34,8 @@ ssize_t read_file(unsigned char *buffer, size_t len,
ssize_t write_file(const unsigned char *buffer, size_t len, mode_t mode,
const char *path_fmt, ...);
+
+GKeyFile *storage_open(const char *imsi, const char *store);
+void storage_sync(const char *imsi, const char *store, GKeyFile *keyfile);
+void storage_close(const char *imsi, const char *store, GKeyFile *keyfile,
+ gboolean save);