- Timestamp:
- Apr 9, 2008 12:08:08 PM (17 years ago)
- Location:
- pjproject/trunk/pjnath
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/turn_session.h
r1913 r1914 309 309 * Set credential to be used by the session. 310 310 */ 311 PJ_DECL(pj_status_t) pj_turn_session_set_cred (pj_turn_session *sess,311 PJ_DECL(pj_status_t) pj_turn_session_set_credential(pj_turn_session *sess, 312 312 const pj_stun_auth_cred *cred); 313 313 -
pjproject/trunk/pjnath/include/pjnath/types.h
r1579 r1914 141 141 * 142 142 * 143 * \n 144 * 145 * \subsection PJNATH_STUN_CLASSES PJNATH Class Diagram 146 * 147 * 148 * \image html UML-class-diagram.png "Class Diagram" 149 * 150 * TBD: write descriptions. 151 * 143 152 * \subsection PJNATH_STUN_USING Using STUN Library 144 153 * … … 156 165 * References for STUN: 157 166 * 158 * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-rfc3489bis-1 1.txt">159 * <B>draft-ietf-behave-rfc3489bis-1 1</b></A>: Session Traversal167 * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-rfc3489bis-15.txt"> 168 * <B>draft-ietf-behave-rfc3489bis-15</b></A>: Session Traversal 160 169 * Utilities for (NAT) (STUN), 161 * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-turn-0 3.txt">162 * <B>draft-ietf-behave-turn-0 3</B></A>: Obtaining Relay Addresses170 * - <A HREF="http://www.ietf.org/internet-drafts/draft-ietf-behave-turn-07.txt"> 171 * <B>draft-ietf-behave-turn-07</B></A>: Obtaining Relay Addresses 163 172 * from Simple Traversal Underneath NAT (STUN) 164 173 * - Obsoleted: <A HREF="http://www.ietf.org/rfc/rfc3489.txt">RFC 3489</A>. -
pjproject/trunk/pjnath/src/pjnath/turn_session.c
r1913 r1914 556 556 * Set credential to be used by the session. 557 557 */ 558 PJ_DEF(pj_status_t) pj_turn_session_set_cred (pj_turn_session *sess,558 PJ_DEF(pj_status_t) pj_turn_session_set_credential(pj_turn_session *sess, 559 559 const pj_stun_auth_cred *cred) 560 560 { 561 561 PJ_ASSERT_RETURN(sess && cred, PJ_EINVAL); 562 PJ_ASSERT_RETURN(sess->stun, PJ_EINVALIDOP); 562 563 563 564 pj_lock_acquire(sess->lock); -
pjproject/trunk/pjnath/src/pjnath/turn_sock.c
r1913 r1914 336 336 /* Set credental */ 337 337 if (cred) { 338 status = pj_turn_session_set_cred (turn_sock->sess, cred);338 status = pj_turn_session_set_credential(turn_sock->sess, cred); 339 339 if (status != PJ_SUCCESS) { 340 340 sess_fail(turn_sock, "Error setting credential", status); -
pjproject/trunk/pjnath/src/pjturn-client/client_main.c
r1913 r1914 420 420 my_perror("turn_udp_bind_channel() failed", status); 421 421 break; 422 case 'd':423 pj_pool_factory_dump(&g.cp.factory, PJ_TRUE);424 break;425 422 case 'x': 426 423 if (g.relay == NULL) {
Note: See TracChangeset
for help on using the changeset viewer.