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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_symbian.cpp

    r1269 r1405  
    5353const pj_uint16_t PJ_SOL_IPV6   = 0xFFFF; 
    5454 
     55/* TOS */ 
     56const pj_uint16_t PJ_IP_TOS             = 0; 
     57const pj_uint16_t PJ_IPTOS_LOWDELAY     = 0; 
     58const pj_uint16_t PJ_IPTOS_THROUGHPUT   = 0; 
     59const pj_uint16_t PJ_IPTOS_RELIABILITY  = 0; 
     60const pj_uint16_t PJ_IPTOS_MINCOST      = 0; 
     61 
    5562/* ioctl() is also not supported. */ 
    5663const pj_uint16_t PJ_SO_TYPE    = 0xFFFF; 
     
    5865const pj_uint16_t PJ_SO_SNDBUF  = 0xFFFF; 
    5966 
     67/* Flags */ 
     68const int PJ_MSG_OOB         = 0; 
     69const int PJ_MSG_PEEK        = KSockReadPeek; 
     70const int PJ_MSG_DONTROUTE   = 0; 
    6071 
    6172///////////////////////////////////////////////////////////////////////////// 
     
    456467    /* Set proto if none is specified. */ 
    457468    if (proto == 0) { 
    458         if (type == PJ_SOCK_STREAM) 
     469        if (type == pj_SOCK_STREAM()) 
    459470            proto = KProtocolInetTcp; 
    460         else if (type == PJ_SOCK_DGRAM) 
     471        else if (type == pj_SOCK_DGRAM()) 
    461472            proto = KProtocolInetUdp; 
    462473    } 
Note: See TracChangeset for help on using the changeset viewer.