diff options
Diffstat (limited to 'pjsip-apps/src/samples/footprint.c')
-rw-r--r-- | pjsip-apps/src/samples/footprint.c | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/pjsip-apps/src/samples/footprint.c b/pjsip-apps/src/samples/footprint.c index 7f631a79..b04f2bb5 100644 --- a/pjsip-apps/src/samples/footprint.c +++ b/pjsip-apps/src/samples/footprint.c @@ -42,6 +42,8 @@ #define HAS_PJLIB_GETOPT #define HAS_PJLIB_XML #define HAS_PJLIB_SCANNER +#define HAS_PJLIB_DNS +#define HAS_PJLIB_RESOLVER #define HAS_PJSIP_CORE_MSG_ELEM #define HAS_PJSIP_CORE @@ -82,6 +84,7 @@ #define HAS_PJMEDIA_G711_CODEC #define HAS_PJMEDIA_GSM_CODEC #define HAS_PJMEDIA_SPEEX_CODEC +#define HAS_PJMEDIA_ILBC_CODEC #endif @@ -153,6 +156,22 @@ int dummy_function() pj_scan_restore_state(NULL, NULL); #endif +#ifdef HAS_PJLIB_DNS + pj_dns_make_query(NULL, NULL, 0, 0, NULL); + pj_dns_parse_packet(NULL, NULL, 0, NULL); + pj_dns_packet_dup(NULL, NULL, NULL); +#endif + +#ifdef HAS_PJLIB_RESOLVER + pj_dns_resolver_create(NULL, NULL, 0, NULL, NULL, NULL); + pj_dns_resolver_set_ns(NULL, 0, NULL, NULL); + pj_dns_resolver_handle_events(NULL, NULL); + pj_dns_resolver_destroy(NULL, 0); + pj_dns_resolver_start_query(NULL, NULL, 0, 0, NULL, NULL, NULL); + pj_dns_resolver_cancel_query(NULL, 0); + pj_dns_resolver_add_entry(NULL, NULL, 0); +#endif + #ifdef HAS_PJSIP_CORE_MSG_ELEM /* Parameter container */ pjsip_param_find(NULL, NULL); @@ -351,7 +370,7 @@ int dummy_function() #ifdef HAS_PJSIP_PRESENCE pjsip_pres_init_module(NULL, NULL); pjsip_pres_instance(); - pjsip_pres_create_uac(NULL, NULL, NULL); + pjsip_pres_create_uac(NULL, NULL, 0, NULL); pjsip_pres_create_uas(NULL, NULL, NULL, NULL); pjsip_pres_terminate(NULL, PJ_FALSE); pjsip_pres_initiate(NULL, 100, NULL); @@ -525,6 +544,11 @@ int dummy_function() pjmedia_codec_speex_deinit(); #endif +#ifdef HAS_PJMEDIA_ILBC_CODEC + pjmedia_codec_ilbc_init(NULL, 0); + pjmedia_codec_ilbc_deinit(); +#endif + return 0; } |