summaryrefslogtreecommitdiff
path: root/spa/plugins/bluez5/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'spa/plugins/bluez5/defs.h')
-rw-r--r--spa/plugins/bluez5/defs.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/spa/plugins/bluez5/defs.h b/spa/plugins/bluez5/defs.h
index d1c4a7d2..b3a1c2d1 100644
--- a/spa/plugins/bluez5/defs.h
+++ b/spa/plugins/bluez5/defs.h
@@ -299,14 +299,16 @@ static inline enum spa_bt_transport_state spa_bt_transport_state_from_string(con
#ifdef HAVE_BLUEZ_5_BACKEND_NATIVE
struct spa_bt_backend *backend_hsp_native_new(struct spa_bt_monitor *monitor,
+ void *dbus_connection,
const struct spa_support *support,
- uint32_t n_support);
+ uint32_t n_support);
void backend_hsp_native_free(struct spa_bt_backend *backend);
void backend_hsp_native_register_profiles(struct spa_bt_backend *backend);
#else
static inline struct spa_bt_backend *backend_hsp_native_new(struct spa_bt_monitor *monitor,
+ void *dbus_connection,
const struct spa_support *support,
- uint32_t n_support) {
+ uint32_t n_support) {
return NULL;
}
static inline void backend_hsp_native_free(struct spa_bt_backend *backend) {}
@@ -315,14 +317,16 @@ static inline void backend_hsp_native_register_profiles(struct spa_bt_backend *b
#ifdef HAVE_BLUEZ_5_BACKEND_OFONO
struct spa_bt_backend *backend_ofono_new(struct spa_bt_monitor *monitor,
+ void *dbus_connection,
const struct spa_support *support,
- uint32_t n_support);
+ uint32_t n_support);
void backend_ofono_free(struct spa_bt_backend *backend);
void backend_ofono_add_filters(struct spa_bt_backend *backend);
#else
static inline struct spa_bt_backend *backend_ofono_new(struct spa_bt_monitor *monitor,
+ void *dbus_connection,
const struct spa_support *support,
- uint32_t n_support) {
+ uint32_t n_support) {
return NULL;
}
static inline void backend_ofono_free(struct spa_bt_backend *backend) {}