X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fstorage.h;h=6b733f80e90a8c7e973a162a2fb27812c19c7166;hb=262db6bececb4dddc9fd2ac8d171825bbd90322b;hp=437d72b803e85bb22b608e5613a2acca7e5fb41c;hpb=419234745e1d26965c582c8bad288e0d9b157868;p=platform%2Fupstream%2Fconnman.git diff --git a/include/storage.h b/include/storage.h index 437d72b..6b733f8 100644 --- a/include/storage.h +++ b/include/storage.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2010 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -22,9 +22,9 @@ #ifndef __CONNMAN_STORAGE_H #define __CONNMAN_STORAGE_H -#include -#include +#include #include +#include #ifdef __cplusplus extern "C" { @@ -43,14 +43,15 @@ extern "C" { struct connman_storage { const char *name; int priority; - int (*global_load) (void); - int (*global_save) (void); - enum connman_device_type device_type; - int (*device_load) (struct connman_device *device); - int (*device_save) (struct connman_device *device); + int (*profile_init) (void); + 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); + enum connman_device_type device_type; + int (*device_load) (struct connman_device *device); + int (*device_save) (struct connman_device *device); }; int connman_storage_register(struct connman_storage *storage);