Ignore:
Timestamp:
Feb 25, 2006 9:16:36 PM (18 years ago)
Author:
bennylp
Message:

Tidying up and make it consistent with the documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h

    r127 r230  
    4646 *  - it manages listeners and transports, and how they are used by  
    4747 *    transactions. 
    48  *  - it owns transaction hash table. 
    4948 *  - it receives incoming messages from transport layer and automatically 
    5049 *    dispatches them to the correct transaction (or create a new one). 
     
    5352 *  - it provides single polling function for all objects and distributes  
    5453 *    events. 
    55  *  - it provides SIP policy such as which outbound proxy to use for all 
    56  *    outgoing SIP request messages. 
    5754 *  - it automatically handles incoming requests which can not be handled by 
    5855 *    existing modules (such as when incoming request has unsupported method). 
     
    142139PJ_DECL(void) pjsip_endpt_cancel_timer( pjsip_endpoint *endpt,  
    143140                                        pj_timer_entry *entry ); 
    144  
    145  
    146 /** 
    147  * Dump endpoint status to the log. This will print the status to the log 
    148  * 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 because 
    153  *                      it tries to access all memory pools. 
    154  */ 
    155 PJ_DECL(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail ); 
    156141 
    157142 
     
    395380/** 
    396381 * Get list of additional headers to be put in outgoing request message. 
     382 * Currently only Max-Forwards are defined. 
    397383 * 
    398384 * @param e         The endpoint. 
     
    404390 
    405391/** 
    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 */ 
     400PJ_DECL(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail ); 
     401 
     402 
    435403 
    436404/** 
Note: See TracChangeset for help on using the changeset viewer.