summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-14 09:57:58 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-12-14 09:57:58 +0100
commita70b4abc989121e287a16bb26b2f17c6f2b6e47e (patch)
tree977074f58d48ae043139e6e79d3503530d862a9b /src/connman.h
parenta4d04d8c7bce8ada5ca7fd8a431de5d29e264fb0 (diff)
downloadconnman-a70b4abc989121e287a16bb26b2f17c6f2b6e47e.tar.gz
connman-a70b4abc989121e287a16bb26b2f17c6f2b6e47e.tar.bz2
connman-a70b4abc989121e287a16bb26b2f17c6f2b6e47e.zip
Add framework for configuration files
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 451b02ec..bd61d255 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -170,6 +170,11 @@ void __connman_storage_close_profile(const char *ident,
GKeyFile *keyfile, gboolean save);
void __connman_storage_delete_profile(const char *ident);
+GKeyFile *__connman_storage_open_config(const char *ident);
+void __connman_storage_close_config(const char *ident,
+ GKeyFile *keyfile, gboolean save);
+void __connman_storage_delete_config(const char *ident);
+
int __connman_storage_init_profile(void);
int __connman_storage_load_profile(struct connman_profile *profile);
int __connman_storage_save_profile(struct connman_profile *profile);
@@ -316,6 +321,9 @@ const char *__connman_network_get_ident(struct connman_network *network);
connman_bool_t __connman_network_get_weakness(struct connman_network *network);
connman_bool_t __connman_network_get_connecting(struct connman_network *network);
+int __connman_config_init();
+void __connman_config_cleanup(void);
+
#include <connman/profile.h>
int __connman_profile_init();