Changeset 1862 for pjproject/trunk/pjnath/include/pjnath/stun_session.h
- Timestamp:
- Mar 12, 2008 8:52:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_session.h
r1852 r1862 113 113 * response may contain non-NULL value if the 114 114 * response contains STUN ERROR-CODE attribute. 115 * @param requestThe original STUN request.115 * @param tdata The original STUN request. 116 116 * @param response The response message, on successful transaction, 117 117 * or otherwise MAY BE NULL if status is not success. … … 223 223 */ 224 224 PJ_DECL(void*) pj_stun_session_get_user_data(pj_stun_session *sess); 225 226 /** 227 * Change the lock object used by the STUN session. By default, the STUN 228 * session uses a mutex to protect its internal data. If application already 229 * protects access to STUN session with higher layer lock, it may disable 230 * the mutex protection in the STUN session by changing the STUN session 231 * lock to a NULL mutex. 232 * 233 * @param sess The STUN session instance. 234 * @param lock New lock instance to be used by the STUN session. 235 * @param auto_del Specify whether STUN session should destroy this 236 * lock instance when it's destroyed. 237 */ 238 PJ_DECL(pj_status_t) pj_stun_session_set_lock(pj_stun_session *sess, 239 pj_lock_t *lock, 240 pj_bool_t auto_del); 225 241 226 242 /**
Note: See TracChangeset
for help on using the changeset viewer.