Changeset 591 for pjproject/trunk


Ignore:
Timestamp:
Jul 8, 2006 10:03:46 AM (18 years ago)
Author:
bennylp
Message:

More fine tuning on the footprint report generation script

Location:
pjproject/trunk/pjsip-apps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/get-footprint.py

    r586 r591  
    3434 
    3535    ['HAS_PJLIB',               'PJLIB (pool, data structures, hash tables, ioqueue, socket, timer heap, etc.)'], 
    36     ['',                        'Subtotal: Minimum PJLIB application size (linked with OS libraries)'], 
     36    ['',                        'Subtotal: Minimal PJLIB application size'], 
    3737 
    3838    # PJLIB-UTIL 
     
    4343 
    4444    # PJSIP 
    45     ['HAS_PJSIP_CORE',          'PJSIP Core (endpoint, transport manager, parser, message elements, module mgmt, etc.)'], 
     45    ['HAS_PJSIP_CORE_MSG_ELEM', 'PJSIP Core - Messaging Elements and Parsing (message, headers, SIP URI, TEL URI/RFC 3966, etc.)'], 
     46    ['HAS_PJSIP_CORE',          'PJSIP Core - Endpoint (transport management, module management, event distribution, etc.)'], 
     47    ['HAS_PJSIP_CORE_MSG_UTIL', 'PJSIP Core - Stateless operations, server resolution and fail-over'], 
    4648    ['HAS_PJSIP_UDP_TRANSPORT', 'PJSIP UDP transport'], 
    4749    ['',                        'Subtotal: A very minimum SIP application (parsing, UDP transport+STUN, no transaction)'], 
     
    5052    ['HAS_PJSIP_INFO',          'PJSIP INFO support (RFC 2976) (no special treatment, thus the zero size)'], 
    5153    ['HAS_PJSIP_TRANSACTION',   'PJSIP transaction and stateful API'], 
     54    ['HAS_PJSIP_AUTH_CLIENT',   'PJSIP digest authentication client'], 
    5255    ['HAS_PJSIP_UA_LAYER',      'PJSIP User agent layer and base dialog and usage management (draft-ietf-sipping-dialogusage-01)'], 
    53     ['HAS_PJMEDIA_SDP',         'PJMEDIA SDP API (RFC 2327), needed by SDP negotiator'], 
     56    ['HAS_PJMEDIA_SDP',         'PJMEDIA SDP Parsing and API (RFC 2327), needed by SDP negotiator'], 
    5457    ['HAS_PJMEDIA_SDP_NEGOTIATOR','PJMEDIA SDP negotiator (RFC 3264), needed by INVITE session'], 
    5558    ['HAS_PJSIP_INV_SESSION',   'PJSIP INVITE session API'], 
     
    7578    ['HAS_PJMEDIA_PLC',         'PJMEDIA Packet Lost Concealment implementation (needed by G.711, GSM, and sound device port)'], 
    7679    ['HAS_PJMEDIA_SND_PORT',    'PJMEDIA sound device media port'], 
    77     ['HAS_PJMEDIA_RESAMPLE',    'PJMEDIA high quality resampling implementation (can be fine tuned with PJMEDIA_HAS_LARGE_FILTER and PJMEDIA_HAS_SMALL_FILTER)'], 
     80    ['HAS_PJMEDIA_RESAMPLE',    'PJMEDIA resampling algorithm (large filter disabled)'], 
    7881    ['HAS_PJMEDIA_G711_CODEC',  'PJMEDIA G.711 codec (PCMA/PCMU, including PLC) (may have already been linked by other module)'], 
    7982    ['HAS_PJMEDIA_CONFERENCE',  'PJMEDIA conference bridge (needs resampling and silence detector)'], 
  • pjproject/trunk/pjsip-apps/src/samples/footprint.c

    r586 r591  
    4444#define HAS_PJLIB_SCANNER 
    4545 
     46#define HAS_PJSIP_CORE_MSG_ELEM 
    4647#define HAS_PJSIP_CORE 
     48#define HAS_PJSIP_CORE_MSG_UTIL 
     49 
    4750#define HAS_PJSIP_UDP_TRANSPORT 
    4851#define HAS_PJSIP_TCP_TRANSPORT 
     
    5154#define HAS_PJMEDIA_SDP 
    5255#define HAS_PJMEDIA_SDP_NEGOTIATOR 
     56#define HAS_PJSIP_AUTH_CLIENT 
    5357#define HAS_PJSIP_INV_SESSION 
    5458#define HAS_PJSIP_REGC 
     
    149153    pj_scan_restore_state(NULL, NULL); 
    150154#endif 
    151      
     155 
     156#ifdef HAS_PJSIP_CORE_MSG_ELEM 
     157    /* Parameter container */ 
     158    pjsip_param_find(NULL, NULL); 
     159    pjsip_param_print_on(NULL, NULL, 0, NULL, NULL, 0); 
     160 
     161    /* SIP URI */ 
     162    pjsip_sip_uri_create(NULL, 0); 
     163    pjsip_name_addr_create(NULL); 
     164 
     165    /* TEL URI */ 
     166    pjsip_tel_uri_create(NULL); 
     167 
     168    /* Message and headers */ 
     169    pjsip_msg_create(NULL, PJSIP_REQUEST_MSG); 
     170    pjsip_msg_print(NULL, NULL, 0); 
     171    pjsip_accept_hdr_create(NULL); 
     172    pjsip_allow_hdr_create(NULL); 
     173    pjsip_cid_hdr_create(NULL); 
     174    pjsip_clen_hdr_create(NULL); 
     175    pjsip_cseq_hdr_create(NULL); 
     176    pjsip_contact_hdr_create(NULL); 
     177    pjsip_ctype_hdr_create(NULL); 
     178    pjsip_expires_hdr_create(NULL, 0); 
     179    pjsip_from_hdr_create(NULL); 
     180    pjsip_max_fwd_hdr_create(NULL, 0); 
     181    pjsip_min_expires_hdr_create(NULL, 0); 
     182    pjsip_rr_hdr_create(NULL); 
     183    pjsip_require_hdr_create(NULL); 
     184    pjsip_retry_after_hdr_create(NULL, 0); 
     185    pjsip_supported_hdr_create(NULL); 
     186    pjsip_unsupported_hdr_create(NULL); 
     187    pjsip_via_hdr_create(NULL); 
     188    pjsip_warning_hdr_create(NULL, 0, NULL, NULL); 
     189 
     190    pjsip_parse_uri(NULL, NULL, 0, 0); 
     191    pjsip_parse_msg(NULL, NULL, 0, NULL); 
     192    pjsip_parse_rdata(NULL, 0, NULL); 
     193    pjsip_find_msg(NULL, 0, 0, NULL); 
     194#endif 
     195 
    152196#ifdef HAS_PJSIP_CORE 
    153197    pjsip_endpt_create(NULL, NULL, NULL); 
    154198 
     199    pjsip_tpmgr_create(NULL, NULL, NULL, NULL, NULL); 
     200    pjsip_tpmgr_destroy(NULL); 
     201    pjsip_transport_send(NULL, NULL, NULL, 0, NULL, NULL); 
     202 
     203 
     204#endif 
     205 
     206#ifdef HAS_PJSIP_CORE_MSG_UTIL 
    155207    pjsip_endpt_create_request(NULL, NULL, NULL, NULL, NULL, NULL, NULL, 
    156208                               -1, NULL, NULL); 
     
    223275    pjsip_dlg_send_response(NULL, NULL, NULL); 
    224276    pjsip_dlg_respond(NULL, NULL, -1, NULL, NULL, NULL); 
     277#endif 
     278 
     279#ifdef HAS_PJSIP_AUTH_CLIENT 
     280    pjsip_auth_clt_init(NULL, NULL, NULL, 0); 
     281    pjsip_auth_clt_clone(NULL, NULL, NULL); 
     282    pjsip_auth_clt_set_credentials(NULL, 0, NULL); 
     283    pjsip_auth_clt_init_req(NULL, NULL); 
     284    pjsip_auth_clt_reinit_req(NULL, NULL, NULL, NULL); 
    225285#endif 
    226286 
Note: See TracChangeset for help on using the changeset viewer.