summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-23 16:29:24 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-04-23 16:29:24 +0100
commit56060fa05d883c16e4235b3f0cf1441d0a0b58a3 (patch)
treec5f2b45fe7e703e68c04eb9d913d8a774ab48d81 /include
parent6d6df9a7a4c1dfb794830c08629a9f89a1dea68c (diff)
downloadconnman-56060fa05d883c16e4235b3f0cf1441d0a0b58a3.tar.gz
connman-56060fa05d883c16e4235b3f0cf1441d0a0b58a3.tar.bz2
connman-56060fa05d883c16e4235b3f0cf1441d0a0b58a3.zip
Add callbacks for service storage functions
Diffstat (limited to 'include')
-rw-r--r--include/storage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/storage.h b/include/storage.h
index cd31b691..61cbf9a4 100644
--- a/include/storage.h
+++ b/include/storage.h
@@ -24,6 +24,7 @@
#include <connman/device.h>
#include <connman/network.h>
+#include <connman/service.h>
#ifdef __cplusplus
extern "C" {
@@ -50,6 +51,9 @@ struct connman_storage {
int (*network_init) (struct connman_device *device);
int (*network_load) (struct connman_network *network);
int (*network_save) (struct connman_network *network);
+ enum connman_service_type service_type;
+ int (*service_load) (struct connman_service *service);
+ int (*service_save) (struct connman_service *service);
};
extern int connman_storage_register(struct connman_storage *storage);