Changeset 134
- Timestamp:
- Feb 2, 2006 9:18:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_util.h
r107 r134 341 341 * 342 342 * @return PJ_SUCCESS if response message has successfully been 343 * created.343 * sent. 344 344 */ 345 345 PJ_DECL(pj_status_t) pjsip_endpt_respond_stateless(pjsip_endpoint *endpt, … … 350 350 const pjsip_msg_body *body); 351 351 352 353 /** 354 * This composite function creates and sends response statefully for the 355 * incoming request. 356 * 357 * @param endpt The endpoint instance. 358 * @param tsx_user The module to be registered as transaction user. 359 * @param rdata The incoming request message. 360 * @param st_code Status code of the response. 361 * @param st_text Optional status text of the response. 362 * @param hdr_list Optional header list to be added to the response. 363 * @param body Optional message body to be added to the response. 364 * @param p_tsx Optional pointer to receive the transaction which was 365 * created to send the response. 366 * 367 * @return PJ_SUCCESS if response message has successfully been 368 * created. 369 */ 370 PJ_DECL(pj_status_t) pjsip_endpt_respond( pjsip_endpoint *endpt, 371 pjsip_module *tsx_user, 372 pjsip_rx_data *rdata, 373 int st_code, 374 const pj_str_t *st_text, 375 const pjsip_hdr *hdr_list, 376 const pjsip_msg_body *body, 377 pjsip_transaction **p_tsx ); 352 378 353 379 /**
Note: See TracChangeset
for help on using the changeset viewer.