bluetooth: Create pa_bluetooth_adapter for BlueZ 5 support

This commit is contained in:
João Paulo Rechi Vita 2013-09-18 16:16:57 -05:00 committed by Tanu Kaskinen
parent 19a23cef10
commit 546da17cbe
2 changed files with 41 additions and 0 deletions

View file

@ -24,12 +24,19 @@
#include <pulsecore/core.h>
typedef struct pa_bluetooth_adapter pa_bluetooth_adapter;
typedef struct pa_bluetooth_discovery pa_bluetooth_discovery;
typedef enum pa_bluetooth_hook {
PA_BLUETOOTH_HOOK_MAX
} pa_bluetooth_hook_t;
struct pa_bluetooth_adapter {
pa_bluetooth_discovery *discovery;
char *path;
char *address;
};
pa_hook* pa_bluetooth_discovery_hook(pa_bluetooth_discovery *y, pa_bluetooth_hook_t hook);
pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *core);