diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-05 15:44:37 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-05 15:44:37 +0000 |
commit | cf00aa5a519822fd9f08d56b576ee9d728aa5ece (patch) | |
tree | 23f4e634924b8a123ac0058896e3c1af2810e712 /include | |
parent | 87208ae922830cc7bdca14e7505ed7a98971ebe5 (diff) |
Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32304 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/dnsmgr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/dnsmgr.h b/include/asterisk/dnsmgr.h index b5cc2a7ed..c9077717e 100644 --- a/include/asterisk/dnsmgr.h +++ b/include/asterisk/dnsmgr.h @@ -37,6 +37,10 @@ void ast_dnsmgr_release(struct ast_dnsmgr_entry *entry); int ast_dnsmgr_lookup(const char *name, struct in_addr *result, struct ast_dnsmgr_entry **dnsmgr); +int ast_dnsmgr_refresh(struct ast_dnsmgr_entry *entry, int verbose); + +int ast_dnsmgr_changed(struct ast_dnsmgr_entry *entry); + #if defined(__cplusplus) || defined(c_plusplus) } #endif /* c_plusplus */ |