Skip to content

Commit 6281e00

Browse files
authored
Merge pull request #201 from freeswitch/ifdef
Define nua_nta_agent_resolver_clean_dns_cache() macro.
2 parents bbe35b1 + 42fddaa commit 6281e00

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

libsofia-sip-ua/nua/nua.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ void nua_unref_user(nua_t *nua)
11581158
nua_signal(nua, NULL, NULL, nua_r_unref, 0, NULL, TAG_NULL());
11591159
}
11601160

1161-
void nua_nta_agent_resolver_clean_dns_cache(nua_t *nua)
1161+
void nua_nta_agent_resolver_clean_dns_cache_ex(nua_t *nua)
11621162
{
11631163
enter;
11641164
nua_signal(nua, NULL, NULL, nua_r_nta_agent_resolver_clean_dns_cache, 0, NULL, TAG_NULL());

libsofia-sip-ua/nua/sofia-sip/nua.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ nua_handle_t *nua_handle_by_call_id(nua_t *nua, const char *call_id);
395395

396396
SOFIAPUBFUN const nta_leg_t *nua_get_dialog_state_leg(nua_handle_t *nh);
397397
SOFIAPUBFUN su_home_t *nua_handle_get_home(nua_handle_t *nh);
398-
SOFIAPUBFUN void nua_nta_agent_resolver_clean_dns_cache(nua_t *nua);
398+
SOFIAPUBFUN void nua_nta_agent_resolver_clean_dns_cache_ex(nua_t *nua);
399+
#define nua_nta_agent_resolver_clean_dns_cache(nua) nua_nta_agent_resolver_clean_dns_cache_ex(nua)
399400
SOFIAPUBFUN void nua_unref(nua_t *nua);
400401
/** Destroy reference to nua using dispatcher */
401402
SOFIAPUBFUN void nua_unref_user(nua_t *nua);

0 commit comments

Comments
 (0)