Changeset 1913 for pjproject/trunk/pjnath/include/pjnath/turn_session.h
- Timestamp:
- Apr 9, 2008 9:38:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/turn_session.h
r1880 r1913 56 56 57 57 58 /** TURN transport types */ 58 /** 59 * TURN transport types, which will be used both to specify the connection 60 * type for reaching TURN server and the type of allocation transport to be 61 * requested to server (the REQUESTED-TRANSPORT attribute). 62 */ 59 63 typedef enum pj_turn_tp_type 60 64 { 61 PJ_TURN_TP_UDP = 17, /**< UDP. */ 62 PJ_TURN_TP_TCP = 6, /**< TCP. */ 63 PJ_TURN_TP_TLS = 256 /**< TLS. */ 65 /** 66 * UDP transport, which value corresponds to IANA protocol number. 67 */ 68 PJ_TURN_TP_UDP = 17, 69 70 /** 71 * TCP transport, which value corresponds to IANA protocol number. 72 */ 73 PJ_TURN_TP_TCP = 6, 74 75 /** 76 * TLS transport. The TLS transport will only be used as the connection 77 * type to reach the server and never as the allocation transport type. 78 */ 79 PJ_TURN_TP_TLS = 255 80 64 81 } pj_turn_tp_type; 65 82 … … 219 236 } pj_turn_session_info; 220 237 238 239 /** 240 * Create default pj_turn_alloc_param. 241 */ 242 PJ_DECL(void) pj_turn_alloc_param_default(pj_turn_alloc_param *prm); 243 244 /** 245 * Duplicate pj_turn_alloc_param. 246 */ 247 PJ_DECL(void) pj_turn_alloc_param_copy(pj_pool_t *pool, 248 pj_turn_alloc_param *dst, 249 const pj_turn_alloc_param *src); 221 250 222 251 /** … … 240 269 241 270 /** 242 * Destroy TURN client session. 271 * Shutdown TURN client session. 272 */ 273 PJ_DECL(pj_status_t) pj_turn_session_shutdown(pj_turn_session *sess); 274 275 276 /** 277 * Forcefully destroy the TURN session. 243 278 */ 244 279 PJ_DECL(pj_status_t) pj_turn_session_destroy(pj_turn_session *sess);
Note: See TracChangeset
for help on using the changeset viewer.