| Index: include/storage.h
|
| diff --git a/include/storage.h b/include/storage.h
|
| index 3d0354f4a1eb120ec0c916cb38205708a8ab4d80..74c3457c4d577ace1b2bb161174ac88be4aece4a 100644
|
| --- a/include/storage.h
|
| +++ b/include/storage.h
|
| @@ -41,6 +41,11 @@ extern "C" {
|
| #define CONNMAN_STORAGE_PRIORITY_DEFAULT 0
|
| #define CONNMAN_STORAGE_PRIORITY_HIGH 100
|
|
|
| +struct connman_storage_ident {
|
| + char *user; /* NULL =>'s global */
|
| + char *ident;
|
| +};
|
| +
|
| struct connman_storage {
|
| const char *name;
|
| int priority;
|
| @@ -48,14 +53,14 @@ struct connman_storage {
|
| int (*profile_load) (struct connman_profile *profile);
|
| int (*profile_save) (struct connman_profile *profile);
|
| enum connman_service_type service_type;
|
| - int (*service_load) (struct connman_service *service);
|
| - int (*service_save) (struct connman_service *service);
|
| + int (*service_load) (struct connman_service *, GKeyFile *);
|
| + int (*service_save) (struct connman_service *, GKeyFile *);
|
| enum connman_device_type device_type;
|
| - int (*device_load) (struct connman_device *device);
|
| - int (*device_save) (struct connman_device *device);
|
| + int (*device_load) (struct connman_device *, GKeyFile *);
|
| + int (*device_save) (struct connman_device *, GKeyFile *);
|
| enum connman_ipconfig_type ipconfig_type;
|
| - int (*ipconfig_load) (struct connman_ipconfig *device);
|
| - int (*ipconfig_save) (const struct connman_ipconfig *device);
|
| + int (*ipconfig_load) (struct connman_ipconfig *, GKeyFile *);
|
| + int (*ipconfig_save) (const struct connman_ipconfig *, GKeyFile *);
|
| };
|
|
|
| int connman_storage_register(struct connman_storage *storage);
|
|
|