diff options
author | Alok Barsode <alok.barsode@linux.intel.com> | 2011-08-24 16:44:23 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-08-25 11:14:23 +0200 |
commit | f988a23814bd55184ceea65f35a06bbdba687ada (patch) | |
tree | d7925e156aa9bf35c2861d67340bbfa4057cd99c /src/storage.c | |
parent | 3c6dce491343ca61ef568b1a6e2ef92d644a70c7 (diff) | |
download | connman-f988a23814bd55184ceea65f35a06bbdba687ada.tar.gz connman-f988a23814bd55184ceea65f35a06bbdba687ada.tar.bz2 connman-f988a23814bd55184ceea65f35a06bbdba687ada.zip |
profile: Remove profile.c and profile.h
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/storage.c b/src/storage.c index 53ba237b..261b615f 100644 --- a/src/storage.c +++ b/src/storage.c @@ -181,60 +181,6 @@ void __connman_storage_delete_config(const char *ident) __connman_storage_delete(ident, CONFIG_SUFFIX); } -int __connman_storage_init_profile(void) -{ - GSList *list; - - DBG(""); - - for (list = storage_list; list; list = list->next) { - struct connman_storage *storage = list->data; - - if (storage->profile_init) { - if (storage->profile_init() == 0) - return 0; - } - } - - return -ENOENT; -} - -int __connman_storage_load_profile(struct connman_profile *profile) -{ - GSList *list; - - DBG("profile %p", profile); - - for (list = storage_list; list; list = list->next) { - struct connman_storage *storage = list->data; - - if (storage->profile_load) { - if (storage->profile_load(profile) == 0) - return 0; - } - } - - return -ENOENT; -} - -int __connman_storage_save_profile(struct connman_profile *profile) -{ - GSList *list; - - DBG("profile %p", profile); - - for (list = storage_list; list; list = list->next) { - struct connman_storage *storage = list->data; - - if (storage->profile_save) { - if (storage->profile_save(profile) == 0) - return 0; - } - } - - return -ENOENT; -} - int __connman_storage_load_service(struct connman_service *service) { GSList *list; |