Changeset 5055 for pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
- Timestamp:
- Apr 8, 2015 10:10:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
r4275 r5055 392 392 393 393 /** 394 * Set the DNS external resolver implementation to use in the SIP resolver. 395 * 396 * Note that naturally when implementing its own resolver, application would not 397 * need the internal resolver, hence this function will also destroy the 398 * PJLIB-UTIL DNS resolver if any (e.g: set using #pjsip_endpt_set_resolver()). 399 * Application that needs it, still be able create its own instance. 400 * 401 * @param res The SIP resolver engine. 402 * @param ext_res The external resolver implementation callback. This argument 403 * can be NULL to reset the whole external implementation. 404 * However, it is prohibited to reset individual callback. 405 * 406 * @return PJ_SUCCESS on success, or the appropriate error code. 407 */ 408 PJ_DECL(pj_status_t) pjsip_endpt_set_ext_resolver(pjsip_endpoint *endpt, 409 pjsip_ext_resolver *ext_res); 410 411 /** 394 412 * Get the DNS resolver being used by the SIP resolver. 395 413 *
Note: See TracChangeset
for help on using the changeset viewer.