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/pjlib-test/sock_perf.c

    r1238 r1405  
    6363 
    6464    /* Create producer-consumer pair. */ 
    65     rc = app_socketpair(PJ_AF_INET, sock_type, 0, &consumer, &producer); 
     65    rc = app_socketpair(pj_AF_INET(), sock_type, 0, &consumer, &producer); 
    6666    if (rc != PJ_SUCCESS) { 
    6767        app_perror("...error: create socket pair", rc); 
     
    106106            } 
    107107            if ((pj_size_t)part_received != buf_size-received) { 
    108                 if (sock_type != PJ_SOCK_STREAM) { 
     108                if (sock_type != pj_SOCK_STREAM()) { 
    109109                    PJ_LOG(3,("", "...error: expecting %u bytes, got %u bytes", 
    110110                              buf_size-received, part_received)); 
     
    166166#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 
    167167    /* Benchmarking UDP */ 
    168     rc = sock_producer_consumer(PJ_SOCK_DGRAM, 512, LOOP, &bandwidth); 
     168    rc = sock_producer_consumer(pj_SOCK_DGRAM(), 512, LOOP, &bandwidth); 
    169169    if (rc != 0) return rc; 
    170170    PJ_LOG(3,("", "....bandwidth UDP = %d KB/s", bandwidth)); 
     
    172172 
    173173    /* Benchmarking TCP */ 
    174     rc = sock_producer_consumer(PJ_SOCK_STREAM, 512, LOOP, &bandwidth); 
     174    rc = sock_producer_consumer(pj_SOCK_STREAM(), 512, LOOP, &bandwidth); 
    175175    if (rc != 0) return rc; 
    176176    PJ_LOG(3,("", "....bandwidth TCP = %d KB/s", bandwidth)); 
Note: See TracChangeset for help on using the changeset viewer.