bluetooth: Create NULL backend

This commit is contained in:
João Paulo Rechi Vita 2014-08-22 11:07:14 +03:00 committed by Tanu Kaskinen
parent 2198048e5d
commit dca5d07937
5 changed files with 64 additions and 1 deletions

View file

@ -35,6 +35,7 @@ typedef struct pa_bluetooth_transport pa_bluetooth_transport;
typedef struct pa_bluetooth_device pa_bluetooth_device;
typedef struct pa_bluetooth_adapter pa_bluetooth_adapter;
typedef struct pa_bluetooth_discovery pa_bluetooth_discovery;
typedef struct pa_bluetooth_backend pa_bluetooth_backend;
typedef enum pa_bluetooth_hook {
PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED, /* Call data: pa_bluetooth_device */
@ -105,6 +106,9 @@ struct pa_bluetooth_adapter {
bool valid;
};
pa_bluetooth_backend *pa_bluetooth_backend_new(pa_core *c);
void pa_bluetooth_backend_free(pa_bluetooth_backend *b);
pa_bluetooth_transport *pa_bluetooth_transport_new(pa_bluetooth_device *d, const char *owner, const char *path,
pa_bluetooth_profile_t p, const uint8_t *config, size_t size);