Changeset 825
- Timestamp:
- Nov 24, 2006 9:02:19 AM (18 years ago)
- Location:
- pjproject/trunk/pjsip-apps
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/Footprint.mak
r604 r825 30 30 $(subst /,$(HOST_PSEP),$(PJSIP_SIMPLE_LIB)) \ 31 31 $(subst /,$(HOST_PSEP),$(PJSIP_LIB)) \ 32 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ 32 33 $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ 33 $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \34 34 $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ 35 35 $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) -
pjproject/trunk/pjsip-apps/build/get-footprint.py
r604 r825 43 43 ['HAS_PJLIB_SCANNER', 'PJLIB-UTIL text scanner (needed by SIP parser)'], 44 44 ['HAS_PJLIB_XML', 'PJLIB-UTIL tiny XML (parsing and API) (needs text scanner)'], 45 ['HAS_PJLIB_DNS', 'PJLIB-UTIL DNS packet and parsing'], 46 ['HAS_PJLIB_RESOLVER', 'PJLIB-UTIL Asynchronous DNS resolver/caching engine'], 45 47 46 48 # PJSIP 47 49 ['HAS_PJSIP_CORE_MSG_ELEM', 'PJSIP Core - Messaging Elements and Parsing (message, headers, SIP URI, TEL URI/RFC 3966, etc.)'], 48 50 ['HAS_PJSIP_CORE', 'PJSIP Core - Endpoint (transport management, module management, event distribution, etc.)'], 49 ['HAS_PJSIP_CORE_MSG_UTIL', 'PJSIP Core - Stateless operations, server resolution and fail-over'],51 ['HAS_PJSIP_CORE_MSG_UTIL', 'PJSIP Core - Stateless operations, SIP SRV, server resolution and fail-over'], 50 52 ['HAS_PJSIP_UDP_TRANSPORT', 'PJSIP UDP transport'], 51 53 ['', 'Subtotal: A minimalistic SIP application (parsing, UDP transport+STUN, no transaction)'], … … 100 102 ['HAS_PJMEDIA_GSM_CODEC', 'PJMEDIA GSM codec (including PLC)'], 101 103 ['HAS_PJMEDIA_SPEEX_CODEC', 'PJMEDIA Speex codec (narrowband, wideband, ultra-wideband)'], 104 ['HAS_PJMEDIA_ILBC_CODEC', 'PJMEDIA iLBC codec'], 102 105 103 106 # Total … … 218 221 output.write('\n<H3><pj/config.site.h></H3>\n') 219 222 output.write('<tt>\n') 220 f = os.popen('cpp -dM ../../pjlib/include/pj/config_site.h | grep PJ')223 f = os.popen('cpp -dM -I../../pjlib/include ../../pjlib/include/pj/config_site.h | grep PJ') 221 224 s = f.readlines() 222 225 for l in s: -
pjproject/trunk/pjsip-apps/src/samples/footprint.c
r604 r825 43 43 #define HAS_PJLIB_XML 44 44 #define HAS_PJLIB_SCANNER 45 #define HAS_PJLIB_DNS 46 #define HAS_PJLIB_RESOLVER 45 47 46 48 #define HAS_PJSIP_CORE_MSG_ELEM … … 83 85 #define HAS_PJMEDIA_GSM_CODEC 84 86 #define HAS_PJMEDIA_SPEEX_CODEC 87 #define HAS_PJMEDIA_ILBC_CODEC 85 88 #endif 86 89 … … 152 155 pj_scan_get_newline(NULL); 153 156 pj_scan_restore_state(NULL, NULL); 157 #endif 158 159 #ifdef HAS_PJLIB_DNS 160 pj_dns_make_query(NULL, NULL, 0, 0, NULL); 161 pj_dns_parse_packet(NULL, NULL, 0, NULL); 162 pj_dns_packet_dup(NULL, NULL, NULL); 163 #endif 164 165 #ifdef HAS_PJLIB_RESOLVER 166 pj_dns_resolver_create(NULL, NULL, 0, NULL, NULL, NULL); 167 pj_dns_resolver_set_ns(NULL, 0, NULL, NULL); 168 pj_dns_resolver_handle_events(NULL, NULL); 169 pj_dns_resolver_destroy(NULL, 0); 170 pj_dns_resolver_start_query(NULL, NULL, 0, 0, NULL, NULL, NULL); 171 pj_dns_resolver_cancel_query(NULL, 0); 172 pj_dns_resolver_add_entry(NULL, NULL, 0); 154 173 #endif 155 174 … … 352 371 pjsip_pres_init_module(NULL, NULL); 353 372 pjsip_pres_instance(); 354 pjsip_pres_create_uac(NULL, NULL, NULL);373 pjsip_pres_create_uac(NULL, NULL, 0, NULL); 355 374 pjsip_pres_create_uas(NULL, NULL, NULL, NULL); 356 375 pjsip_pres_terminate(NULL, PJ_FALSE); … … 526 545 #endif 527 546 547 #ifdef HAS_PJMEDIA_ILBC_CODEC 548 pjmedia_codec_ilbc_init(NULL, 0); 549 pjmedia_codec_ilbc_deinit(); 550 #endif 551 528 552 return 0; 529 553 }
Note: See TracChangeset
for help on using the changeset viewer.