diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-07 20:24:16 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-07 20:24:16 +0100 |
commit | b1d822465166dba78f8ad54837f106c3ec513631 (patch) | |
tree | ba492f89aeeb870359eb82c08b3bae3fb19be8af /include | |
parent | cecbeca745ed26cd6742dc897135c28778008ef6 (diff) | |
download | connman-b1d822465166dba78f8ad54837f106c3ec513631.tar.gz connman-b1d822465166dba78f8ad54837f106c3ec513631.tar.bz2 connman-b1d822465166dba78f8ad54837f106c3ec513631.zip |
Add support for storage setup callbacks
Diffstat (limited to 'include')
-rw-r--r-- | include/storage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/storage.h b/include/storage.h index 9182675a..cd31b691 100644 --- a/include/storage.h +++ b/include/storage.h @@ -43,9 +43,11 @@ struct connman_storage { const char *name; int priority; enum connman_device_type device_type; + int (*device_init) (void); int (*device_load) (struct connman_device *device); int (*device_save) (struct connman_device *device); enum connman_network_type network_type; + int (*network_init) (struct connman_device *device); int (*network_load) (struct connman_network *network); int (*network_save) (struct connman_network *network); }; |