summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-16 15:42:10 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-16 15:42:10 +0000
commitcdd9e2e17ad674e5fc1a5ed19643880ef61d28c7 (patch)
tree5292da714c803e54ad8e199f3a06d6db9d9d42f2 /audio/avdtp.h
parent3863eba35ca65bb4ea17d3763ae27afafdf0f4c2 (diff)
Rework interfacing with the avdtp state machine
Diffstat (limited to 'audio/avdtp.h')
-rw-r--r--audio/avdtp.h4
1 files changed, 4 insertions, 0 deletions
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);