Ignore:
Timestamp:
Jul 20, 2007 8:08:30 AM (12 years ago)
Author:
bennylp
Message:

Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_udp.c

    r1386 r1405  
    420420    pj_status_t status; 
    421421 
    422     status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock); 
     422    status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock); 
    423423    if (status != PJ_SUCCESS) 
    424424        return status; 
     
    509509    /* Adjust socket rcvbuf size */ 
    510510    sobuf_size = PJSIP_UDP_SO_RCVBUF_SIZE; 
    511     status = pj_sock_setsockopt(sock, PJ_SOL_SOCKET, PJ_SO_RCVBUF, 
     511    status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_RCVBUF(), 
    512512                                &sobuf_size, sizeof(sobuf_size)); 
    513513    if (status != PJ_SUCCESS) { 
     
    520520    /* Adjust socket sndbuf size */ 
    521521    sobuf_size = PJSIP_UDP_SO_SNDBUF_SIZE; 
    522     status = pj_sock_setsockopt(sock, PJ_SOL_SOCKET, PJ_SO_SNDBUF, 
     522    status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_SNDBUF(), 
    523523                                &sobuf_size, sizeof(sobuf_size)); 
    524524    if (status != PJ_SUCCESS) { 
     
    640640 
    641641    /* Remote address is left zero (except the family) */ 
    642     tp->base.key.rem_addr.addr.sa_family = PJ_AF_INET; 
     642    tp->base.key.rem_addr.addr.sa_family = pj_AF_INET(); 
    643643 
    644644    /* Type name. */ 
Note: See TracChangeset for help on using the changeset viewer.