diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-12-20 15:23:19 +0100 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-05-22 18:44:46 +0200 |
commit | 5091c3caffe6d6ba1b45cf1ed1311ed165c6a1f9 (patch) | |
tree | f815640166c04404580e32741e62243058defbad /dundee/dundee.h | |
parent | 3e69d5857021a125a1559dc72ee4363d20a57124 (diff) | |
download | ofono-5091c3caffe6d6ba1b45cf1ed1311ed165c6a1f9.tar.bz2 |
dundee: Add driver helper functions
Diffstat (limited to 'dundee/dundee.h')
-rw-r--r-- | dundee/dundee.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dundee/dundee.h b/dundee/dundee.h index ae14e013..cf0c36a4 100644 --- a/dundee/dundee.h +++ b/dundee/dundee.h @@ -126,6 +126,11 @@ struct dundee_device *dundee_device_create(struct dundee_device_driver *d); int dundee_device_register(struct dundee_device *device); void dundee_device_unregister(struct dundee_device *device); +void dundee_device_set_data(struct dundee_device *device, void *data); +void *dundee_device_get_data(struct dundee_device *device); + +int dundee_device_set_name(struct dundee_device *device, const char *name); + typedef void (*dundee_device_foreach_func)(struct dundee_device *device, void *data); void __dundee_device_foreach(dundee_device_foreach_func cb, void *userdata); |