Changeset 3106 for pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
- Timestamp:
- Feb 24, 2010 5:43:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
r2394 r3106 373 373 374 374 375 /** 376 * Find a SIP transport suitable for sending SIP message to the specified 377 * address by also considering the outgoing SIP message data. If transport 378 * selector ("sel") is set, then the function will check if the transport 379 * selected is suitable to send requests to the specified address. 380 * 381 * @see pjsip_tpmgr_acquire_transport 382 * 383 * @param endpt The SIP endpoint instance. 384 * @param type The type of transport to be acquired. 385 * @param remote The remote address to send message to. 386 * @param addr_len Length of the remote address. 387 * @param sel Optional pointer to transport selector instance which is 388 * used to find explicit transport, if required. 389 * @param tdata Optional pointer to SIP message data to be sent. 390 * @param p_tp Pointer to receive the transport instance, if one is found. 391 * 392 * @return PJ_SUCCESS on success, or the appropriate error code. 393 */ 394 PJ_DECL(pj_status_t) 395 pjsip_endpt_acquire_transport2(pjsip_endpoint *endpt, 396 pjsip_transport_type_e type, 397 const pj_sockaddr_t *remote, 398 int addr_len, 399 const pjsip_tpselector *sel, 400 pjsip_tx_data *tdata, 401 pjsip_transport **p_tp); 402 403 375 404 /***************************************************************************** 376 405 *
Note: See TracChangeset
for help on using the changeset viewer.