summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-06-05 15:44:37 +0000
committerJoshua Colp <jcolp@digium.com>2006-06-05 15:44:37 +0000
commit2a71835d415113dbfd78c2bdd5ce585f1ba9baee (patch)
tree23f4e634924b8a123ac0058896e3c1af2810e712 /include/asterisk
parent723e900bf36386bf6a1fc78b93c09121f6d1f6b0 (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: https://origsvn.digium.com/svn/asterisk/trunk@32304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/dnsmgr.h4
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 */