Changeset 4360 for pjproject/trunk/pjnath/include/pjnath/stun_session.h
- Timestamp:
- Feb 21, 2013 11:26:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_session.h
r4352 r4360 31 31 #include <pjnath/stun_transaction.h> 32 32 #include <pj/list.h> 33 #include <pj/lock.h> 33 34 #include <pj/timer.h> 34 35 … … 385 386 * @param cb Session callback. 386 387 * @param fingerprint Enable message fingerprint for outgoing messages. 388 * @param grp_lock Optional group lock to be used by this session. 389 * If NULL, the session will create one itself. 387 390 * @param p_sess Pointer to receive STUN session instance. 388 391 * … … 393 396 const pj_stun_session_cb *cb, 394 397 pj_bool_t fingerprint, 398 pj_grp_lock_t *grp_lock, 395 399 pj_stun_session **p_sess); 396 400 … … 430 434 */ 431 435 PJ_DECL(void*) pj_stun_session_get_user_data(pj_stun_session *sess); 432 433 /**434 * Change the lock object used by the STUN session. By default, the STUN435 * session uses a mutex to protect its internal data. If application already436 * protects access to STUN session with higher layer lock, it may disable437 * the mutex protection in the STUN session by changing the STUN session438 * lock to a NULL mutex.439 *440 * @param sess The STUN session instance.441 * @param lock New lock instance to be used by the STUN session.442 * @param auto_del Specify whether STUN session should destroy this443 * lock instance when it's destroyed.444 */445 PJ_DECL(pj_status_t) pj_stun_session_set_lock(pj_stun_session *sess,446 pj_lock_t *lock,447 pj_bool_t auto_del);448 436 449 437 /**
Note: See TracChangeset
for help on using the changeset viewer.