summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@linux.intel.com>2011-08-24 16:44:13 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-08-25 11:14:21 +0200
commiteca384a6167bd4b90d229c3fe9ba7d23d020e68b (patch)
treec6fffa1faf7c6369b49ab49840dfd092aa8e90b7 /include
parent2020a2813b0a9f8dee53ea9632296db7d914a619 (diff)
downloadconnman-eca384a6167bd4b90d229c3fe9ba7d23d020e68b.tar.gz
connman-eca384a6167bd4b90d229c3fe9ba7d23d020e68b.tar.bz2
connman-eca384a6167bd4b90d229c3fe9ba7d23d020e68b.zip
technology: Save state persistently
Save the technology state persistently. This will help in resuming the technology state after offlinemode or during startup. This patch just saves the states.
Diffstat (limited to 'include')
-rw-r--r--include/storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/storage.h b/include/storage.h
index 6b733f80..a612feba 100644
--- a/include/storage.h
+++ b/include/storage.h
@@ -25,6 +25,7 @@
#include <connman/profile.h>
#include <connman/service.h>
#include <connman/device.h>
+#include <connman/technology.h>
#ifdef __cplusplus
extern "C" {
@@ -52,6 +53,8 @@ struct connman_storage {
enum connman_device_type device_type;
int (*device_load) (struct connman_device *device);
int (*device_save) (struct connman_device *device);
+ int (*tech_load) (struct connman_technology *technology);
+ int (*tech_save) (struct connman_technology *technology);
};
int connman_storage_register(struct connman_storage *storage);