summaryrefslogtreecommitdiff
path: root/pjnath/include/pjnath/turn_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjnath/include/pjnath/turn_sock.h')
-rw-r--r--pjnath/include/pjnath/turn_sock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/turn_sock.h b/pjnath/include/pjnath/turn_sock.h
index eddac515..bbff6bf7 100644
--- a/pjnath/include/pjnath/turn_sock.h
+++ b/pjnath/include/pjnath/turn_sock.h
@@ -265,6 +265,16 @@ PJ_DECL(void*) pj_turn_sock_get_user_data(pj_turn_sock *turn_sock);
/**
+ * Get the group lock for this TURN transport.
+ *
+ * @param turn_sock The TURN transport instance.
+ *
+ * @return The group lock.
+ */
+PJ_DECL(pj_grp_lock_t *) pj_turn_sock_get_grp_lock(pj_turn_sock *turn_sock);
+
+
+/**
* Get the TURN transport info. The transport info contains, among other
* things, the allocated relay address.
*