Changeset 797 for pjproject/trunk/pjsip/include/pjsip/sip_util.h
- Timestamp:
- Nov 11, 2006 4:16:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_util.h
r736 r797 334 334 335 335 /** 336 * This is a convenient function which wraps #pjsip_get_response_addr() and 337 * #pjsip_endpt_send_response() in a single function. 338 * 339 * @param endpt The endpoint instance. 340 * @param rdata The original request to be responded. 341 * @param tdata The response message to be sent. 342 * @param token Token to be passed back when the callback is called. 343 * @param cb Optional callback to notify the transmission status 344 * to application, and to inform whether next address or 345 * transport will be tried. 346 * 347 * @return PJ_SUCCESS if response has been successfully created and 348 * sent to transport layer, or a non-zero error code. 349 * However, even when it returns PJ_SUCCESS, there is no 350 * guarantee that the response has been successfully sent. 351 */ 352 PJ_DECL(pj_status_t) pjsip_endpt_send_response2(pjsip_endpoint *endpt, 353 pjsip_rx_data *rdata, 354 pjsip_tx_data *tdata, 355 void *token, 356 void (*cb)(pjsip_send_state*, 357 pj_ssize_t sent, 358 pj_bool_t *cont)); 359 360 /** 336 361 * This composite function sends response message statelessly to an incoming 337 362 * request message. Internally it calls #pjsip_endpt_create_response() and
Note: See TracChangeset
for help on using the changeset viewer.