| Index: src/connman.h | 
| diff --git a/src/connman.h b/src/connman.h | 
| index 68031c3a0e19b9b174fbc38355267defff02a0da..704cdbd3d2f9bdd43f5ffdb0569d7006b12d46ac 100644 | 
| --- a/src/connman.h | 
| +++ b/src/connman.h | 
| @@ -173,36 +173,40 @@ int __connman_resolver_selftest(void); | 
| int __connman_crypto_init(void); | 
| void __connman_crypto_cleanup(void); | 
|  | 
| -char *__connman_crypto_encrypt_keyvalue(const char *profile_name, | 
| -    const char *key, const char *value); | 
| -char *__connman_crypto_decrypt_keyvalue(const char *profile_name, | 
| -    const char *key, const char *value); | 
| +char *__connman_crypto_encrypt_keyvalue(const char *key, const char *value); | 
| +char *__connman_crypto_decrypt_keyvalue(const char *key, const char *value); | 
|  | 
| #include <connman/storage.h> | 
|  | 
| int __connman_storage_init(void); | 
| void __connman_storage_cleanup(void); | 
|  | 
| -GKeyFile *__connman_storage_open(const char *ident); | 
| -void __connman_storage_close(const char *ident, | 
| +gboolean __connman_storage_exists(const struct connman_storage_ident *ident); | 
| +GKeyFile *__connman_storage_open(const struct connman_storage_ident *ident); | 
| +void __connman_storage_close(const struct connman_storage_ident *ident, | 
| GKeyFile *keyfile, gboolean save); | 
| -void __connman_storage_delete(const char *ident); | 
| +void __connman_storage_delete(const struct connman_storage_ident *ident); | 
|  | 
| void __connman_storage_set_encrypted_value(GKeyFile *keyfile, | 
| -    const char *profile_name, const char *section, const char *key, | 
| -    const char *value); | 
| +    const char *section, const char *key, const char *value); | 
| char *__connman_storage_get_encrypted_value(GKeyFile *keyfile, | 
| -    const char *profile_name, const char *section, const char *key); | 
| +    const char *section, const char *key); | 
|  | 
| int __connman_storage_init_profile(void); | 
| int __connman_storage_load_profile(struct connman_profile *profile); | 
| int __connman_storage_save_profile(struct connman_profile *profile); | 
| -int __connman_storage_load_service(struct connman_service *service); | 
| -int __connman_storage_save_service(struct connman_service *service); | 
| -int __connman_storage_load_device(struct connman_device *device); | 
| -int __connman_storage_save_device(struct connman_device *device); | 
| -int __connman_storage_load_ipconfig(struct connman_ipconfig *ipconfig); | 
| -int __connman_storage_save_ipconfig(const struct connman_ipconfig *ipconfig); | 
| +int __connman_storage_load_service(struct connman_service *service, | 
| +    const struct connman_storage_ident *profile_ident); | 
| +int __connman_storage_save_service(struct connman_service *service, | 
| +    const struct connman_storage_ident *profile_ident); | 
| +int __connman_storage_load_device(struct connman_device *device, | 
| +    const struct connman_storage_ident *profile_ident); | 
| +int __connman_storage_save_device(struct connman_device *device, | 
| +    const struct connman_storage_ident *profile_ident); | 
| +int __connman_storage_load_ipconfig(struct connman_ipconfig *ipconfig, | 
| +    const struct connman_storage_ident *profile_ident); | 
| +int __connman_storage_save_ipconfig(const struct connman_ipconfig *ipconfig, | 
| +    const struct connman_storage_ident *profile_ident); | 
|  | 
| #include <connman/driver.h> | 
|  | 
| @@ -343,12 +347,22 @@ connman_bool_t __connman_profile_get_offlinemode(void); | 
| int __connman_profile_set_offlinemode(connman_bool_t offlinemode); | 
| int __connman_profile_save_default(void); | 
|  | 
| +int __connman_profile_load_service(struct connman_service *service); | 
| +int __connman_profile_save_service(struct connman_service *service); | 
| +int __connman_profile_load_device(struct connman_device *device); | 
| +int __connman_profile_save_device(struct connman_device *device); | 
| +int __connman_profile_load_ipconfig(struct connman_ipconfig *ipconfig); | 
| +int __connman_profile_save_ipconfig(const struct connman_ipconfig *ipconfig); | 
| + | 
| void __connman_profile_list(DBusMessageIter *iter, void *); | 
| -const char *__connman_profile_active_ident(void); | 
| +const struct connman_storage_ident *__connman_profile_active_ident(void); | 
| const char *__connman_profile_active_path(void); | 
|  | 
| int __connman_profile_create(const char *name, const char **path); | 
| int __connman_profile_remove(const char *path); | 
| +int __connman_profile_push(const char *ident, const char *name, | 
| +				const char **path); | 
| +int __connman_profile_pop(const char *ident); | 
|  | 
| void __connman_profile_changed(gboolean delayed); | 
|  | 
| @@ -422,6 +436,8 @@ int __connman_service_indicate_active(struct connman_service *service, | 
|  | 
| connman_bool_t __connman_service_check_prepared(const struct connman_service *); | 
|  | 
| +void __connman_service_invalidate_profile(const struct connman_storage_ident *); | 
| + | 
| enum connman_service_type connman_service_string2type(const char *str); | 
| void __connman_service_reset(struct connman_service *service); | 
| DBusMessage *__connman_get_wifi_service(DBusMessage *msg); | 
|  |