From cdd9e2e17ad674e5fc1a5ed19643880ef61d28c7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 16 Aug 2007 15:42:10 +0000 Subject: Rework interfacing with the avdtp state machine --- audio/avdtp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/avdtp.h') diff --git a/audio/avdtp.h b/audio/avdtp.h index f7ca6308..0043c480 100644 --- a/audio/avdtp.h +++ b/audio/avdtp.h @@ -155,6 +155,8 @@ struct avdtp *avdtp_get(bdaddr_t *src, bdaddr_t *dst); void avdtp_unref(struct avdtp *session); struct avdtp *avdtp_ref(struct avdtp *session); +gboolean avdtp_is_connected(bdaddr_t *src, bdaddr_t *dst); + struct avdtp_service_capability *avdtp_service_cap_new(uint8_t category, void *data, int size); @@ -196,6 +198,8 @@ int avdtp_get_seps(struct avdtp *session, uint8_t type, uint8_t media, int avdtp_unregister_sep(struct avdtp_local_sep *sep); +avdtp_state_t avdtp_sep_get_state(struct avdtp_local_sep *sep); + const char *avdtp_strerror(struct avdtp_error *err); void avdtp_get_peers(struct avdtp *session, bdaddr_t *src, bdaddr_t *dst); -- cgit