Ignore:
Timestamp:
Dec 26, 2005 12:52:19 PM (18 years ago)
Author:
bennylp
Message:

Modify transport to use generic sockaddr address

File:
1 edited

Legend:

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

    r65 r105  
    2929 * @param endpt         The SIP endpoint. 
    3030 * @param local         Local address to bind. 
    31  * @param pub_addr      Public address to advertise. 
     31 * @param a_name        Published address (only the host and port portion is  
     32 *                      used). If this argument is NULL, then the bound address 
     33 *                      will be used as the published address. 
    3234 * @param async_cnt     Number of simultaneous async operations. 
    3335 * @param p_transport   Pointer to receive the transport. 
     
    3941PJ_DECL(pj_status_t) pjsip_udp_transport_start(pjsip_endpoint *endpt, 
    4042                                               const pj_sockaddr_in *local, 
    41                                                const pj_sockaddr_in *pub_addr, 
     43                                               const pjsip_host_port *a_name, 
    4244                                               unsigned async_cnt, 
    4345                                               pjsip_transport **p_transport); 
     
    4850 * @param endpt         The SIP endpoint. 
    4951 * @param sock          UDP socket to use. 
    50  * @param pub_addr      Public address to advertise. 
     52 * @param a_name        Published address (only the host and port portion is  
     53 *                      used). 
    5154 * @param async_cnt     Number of simultaneous async operations. 
    5255 * @param p_transport   Pointer to receive the transport. 
     
    5861PJ_DECL(pj_status_t) pjsip_udp_transport_attach(pjsip_endpoint *endpt, 
    5962                                                pj_sock_t sock, 
    60                                                 const pj_sockaddr_in *pub_addr, 
     63                                                const pjsip_host_port *a_name, 
    6164                                                unsigned async_cnt, 
    6265                                                pjsip_transport **p_transport); 
Note: See TracChangeset for help on using the changeset viewer.