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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/turn_sock.h b/pjnath/include/pjnath/turn_sock.h
index f756a3b8..96990baa 100644
--- a/pjnath/include/pjnath/turn_sock.h
+++ b/pjnath/include/pjnath/turn_sock.h
@@ -109,6 +109,14 @@ typedef struct pj_turn_sock_cb
typedef struct pj_turn_sock_cfg
{
/**
+ * The group lock to be used by the STUN socket. If NULL, the STUN socket
+ * will create one internally.
+ *
+ * Default: NULL
+ */
+ pj_grp_lock_t *grp_lock;
+
+ /**
* Packet buffer size.
*
* Default value is PJ_TURN_MAX_PKT_LEN.