From c560d02ccf1dd156f068b1da8a3e7d75d2319dfd Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 18 Aug 2008 19:20:42 -0300 Subject: Remove driver.c driver.h and remove workaround for to force a symbol resolution. --- src/device.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/device.h') diff --git a/src/device.h b/src/device.h index c29d670b..bbb0846f 100644 --- a/src/device.h +++ b/src/device.h @@ -42,3 +42,15 @@ 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 *device, GSList *records); + void (*remove) (struct btd_device *device); +}; + +int btd_register_device_driver(struct btd_device_driver *driver); +void btd_unregister_device_driver(struct btd_device_driver *driver); -- cgit