diff options
author | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-05 18:13:42 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-05 18:13:42 -0300 |
commit | 76751aa2c4065f2d9492f97f5145e6f54d56b451 (patch) | |
tree | 96f8895f29617202266ebefa83e566cf016ba59a /src/device.h | |
parent | 037e751359421436c382a750b960854602424d58 (diff) |
Introduce driver.c and driver.h files.
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/device.h b/src/device.h index 31480a66..c29d670b 100644 --- a/src/device.h +++ b/src/device.h @@ -42,17 +42,3 @@ void device_set_temporary(struct btd_device *device, gboolean temporary); void device_set_cap(struct btd_device *device, uint8_t cap); void device_set_auth(struct btd_device *device, uint8_t auth); uint8_t device_get_auth(struct btd_device *device); - -#define BTD_UUIDS(args...) ((const char *[]) { args, NULL } ) - -struct btd_device_driver { - const char *name; - const char **uuids; - int (*probe) (struct btd_device_driver *driver, - struct btd_device *device, GSList *records); - void (*remove) (struct btd_device_driver *driver, - struct btd_device *device); -}; - -int btd_register_device_driver(struct btd_device_driver *driver); -void btd_unregister_device_driver(struct btd_device_driver *driver); |