Changeset 230 for pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
- Timestamp:
- Feb 25, 2006 9:16:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
r127 r230 46 46 * - it manages listeners and transports, and how they are used by 47 47 * transactions. 48 * - it owns transaction hash table.49 48 * - it receives incoming messages from transport layer and automatically 50 49 * dispatches them to the correct transaction (or create a new one). … … 53 52 * - it provides single polling function for all objects and distributes 54 53 * events. 55 * - it provides SIP policy such as which outbound proxy to use for all56 * outgoing SIP request messages.57 54 * - it automatically handles incoming requests which can not be handled by 58 55 * existing modules (such as when incoming request has unsupported method). … … 142 139 PJ_DECL(void) pjsip_endpt_cancel_timer( pjsip_endpoint *endpt, 143 140 pj_timer_entry *entry ); 144 145 146 /**147 * Dump endpoint status to the log. This will print the status to the log148 * with log level 3.149 *150 * @param endpt The endpoint.151 * @param detail If non zero, then it will dump a detailed output.152 * BEWARE that this option may crash the system because153 * it tries to access all memory pools.154 */155 PJ_DECL(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail );156 141 157 142 … … 395 380 /** 396 381 * Get list of additional headers to be put in outgoing request message. 382 * Currently only Max-Forwards are defined. 397 383 * 398 384 * @param e The endpoint. … … 404 390 405 391 /** 406 * Set list of SIP proxies to be visited for all outbound request messages. 407 * Application can call this function to specify how outgoing request messages 408 * should be routed. For example, if outgoing requests should go through an 409 * outbound proxy, then application can specify the URL of the proxy when 410 * calling this function. More than one proxy can be specified, and the 411 * order of which proxy is specified when calling this function specifies 412 * the order of which proxy will be visited first by the request messages. 413 * 414 * @param endpt The endpoint instance. 415 * @param url_cnt Number of proxies/URLs in the array. 416 * @param url Array of proxy URL, which specifies the order of which 417 * proxy will be visited first (e.g. url[0] will be visited 418 * before url[1]). 419 * 420 * @return Zero on success. 421 */ 422 PJ_DECL(pj_status_t) pjsip_endpt_set_proxies( pjsip_endpoint *endpt, 423 int url_cnt, const pj_str_t url[]); 424 425 /** 426 * Get the list of "Route" header that are configured for this endpoint. 427 * The "Route" header specifies how outbound request messages will be sent, 428 * and is built when application sets the outbound proxy. 429 * 430 * @param endpt The endpoint instance. 431 * 432 * @return List of "Route" header. 433 */ 434 PJ_DECL(const pjsip_route_hdr*) pjsip_endpt_get_routing( pjsip_endpoint *endpt ); 392 * Dump endpoint status to the log. This will print the status to the log 393 * with log level 3. 394 * 395 * @param endpt The endpoint. 396 * @param detail If non zero, then it will dump a detailed output. 397 * BEWARE that this option may crash the system because 398 * it tries to access all memory pools. 399 */ 400 PJ_DECL(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail ); 401 402 435 403 436 404 /**
Note: See TracChangeset
for help on using the changeset viewer.