Ignore:
Timestamp:
May 2, 2007 6:54:19 PM (17 years ago)
Author:
bennylp
Message:

Errno and memory size tweaking for Symbian

File:
1 edited

Legend:

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

    r974 r1244  
    285285/* Endpoint. */ 
    286286#define PJSIP_MAX_TIMER_COUNT           (2*PJSIP_MAX_TSX_COUNT + 2*PJSIP_MAX_DIALOG_COUNT) 
    287 #define PJSIP_POOL_LEN_ENDPT            (4000) 
    288 #define PJSIP_POOL_INC_ENDPT            (4000) 
     287 
     288/** 
     289 * Initial memory block for the endpoint. 
     290 */ 
     291#ifndef PJSIP_POOL_LEN_ENDPT 
     292#   define PJSIP_POOL_LEN_ENDPT         (4000) 
     293#endif 
     294 
     295/** 
     296 * Memory increment for endpoint. 
     297 */ 
     298#ifndef PJSIP_POOL_INC_ENDPT 
     299#   define PJSIP_POOL_INC_ENDPT         (4000) 
     300#endif 
     301 
    289302 
    290303/* Transport related constants. */ 
    291304 
    292 #define PJSIP_POOL_RDATA_LEN            4000 
    293 #define PJSIP_POOL_RDATA_INC            4000 
     305/** 
     306 * Initial memory block for rdata. 
     307 */ 
     308#ifndef PJSIP_POOL_RDATA_LEN 
     309#   define PJSIP_POOL_RDATA_LEN         4000 
     310#endif 
     311 
     312/** 
     313 * Memory increment for rdata. 
     314 */ 
     315#ifndef PJSIP_POOL_RDATA_INC 
     316#   define PJSIP_POOL_RDATA_INC         4000 
     317#endif 
     318 
    294319#define PJSIP_POOL_LEN_TRANSPORT        512 
    295320#define PJSIP_POOL_INC_TRANSPORT        512 
    296 #define PJSIP_POOL_LEN_TDATA            4000 
    297 #define PJSIP_POOL_INC_TDATA            4000 
    298 #define PJSIP_POOL_LEN_UA               4000 
    299 #define PJSIP_POOL_INC_UA               4000 
     321 
     322/** 
     323 * Initial memory block size for tdata. 
     324 */ 
     325#ifndef PJSIP_POOL_LEN_TDATA 
     326#   define PJSIP_POOL_LEN_TDATA         4000 
     327#endif 
     328 
     329/** 
     330 * Memory increment for tdata. 
     331 */ 
     332#ifndef PJSIP_POOL_INC_TDATA 
     333#   define PJSIP_POOL_INC_TDATA         4000 
     334#endif 
     335 
     336/** 
     337 * Initial memory size for UA layer 
     338 */ 
     339#ifndef PJSIP_POOL_LEN_UA 
     340#   define PJSIP_POOL_LEN_UA            4000 
     341#endif 
     342 
     343/** 
     344 * Memory increment for UA layer. 
     345 */ 
     346#ifndef PJSIP_POOL_INC_UA 
     347#   define PJSIP_POOL_INC_UA            4000 
     348#endif 
    300349 
    301350#define PJSIP_MAX_FORWARDS_VALUE        70 
     
    305354 
    306355/* Transaction related constants. */ 
    307 #define PJSIP_POOL_TSX_LAYER_LEN        4000 
    308 #define PJSIP_POOL_TSX_LAYER_INC        4000 
    309 #define PJSIP_POOL_TSX_LEN              1536 /* 768 */ 
    310 #define PJSIP_POOL_TSX_INC              256 
     356 
     357/** 
     358 * Initial memory size for transaction layer 
     359 */ 
     360#ifndef PJSIP_POOL_TSX_LAYER_LEN 
     361#   define PJSIP_POOL_TSX_LAYER_LEN     4000 
     362#endif 
     363 
     364/** 
     365 * Memory increment for transaction layer. 
     366 */ 
     367#ifndef PJSIP_POOL_TSX_LAYER_INC 
     368#   define PJSIP_POOL_TSX_LAYER_INC     4000 
     369#endif 
     370 
     371/** 
     372 * Initial memory size for a SIP transaction object. 
     373 */ 
     374#ifndef PJSIP_POOL_TSX_LEN 
     375#   define PJSIP_POOL_TSX_LEN           1536 /* 768 */ 
     376#endif 
     377 
     378/** 
     379 * Memory increment for transaction object. 
     380 */ 
     381#ifndef PJSIP_POOL_TSX_INC 
     382#   define PJSIP_POOL_TSX_INC           256 
     383#endif 
     384 
    311385#define PJSIP_MAX_TSX_KEY_LEN           (PJSIP_MAX_URL_SIZE*2) 
    312386 
Note: See TracChangeset for help on using the changeset viewer.