summaryrefslogtreecommitdiff
path: root/include/asterisk/dnsmgr.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-06-07 17:44:36 +0000
committerRussell Bryant <russell@russellbryant.com>2006-06-07 17:44:36 +0000
commit39bcaa07735f404e622e6a7e903655878bf53e64 (patch)
tree3852a574fd05fa29501b081d02fb240c66966c9b /include/asterisk/dnsmgr.h
parent503f99e2e86cb27725f0dba8fc662b364088fa70 (diff)
add an updated patch that adds dnsmgr support for outgoing iax2 registrations
(issue #6305, by ivanfm, with mods) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/dnsmgr.h')
-rw-r--r--include/asterisk/dnsmgr.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asterisk/dnsmgr.h b/include/asterisk/dnsmgr.h
index b5cc2a7ed..c9061dc42 100644
--- a/include/asterisk/dnsmgr.h
+++ b/include/asterisk/dnsmgr.h
@@ -37,6 +37,24 @@ 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);
+/*!
+ * \brief Force a refresh of a dnsmgr entry
+ *
+ * \retval non-zero if the result is different than the previous result
+ * \retval zero if the result is the same as the previous result
+ */
+int ast_dnsmgr_refresh(struct ast_dnsmgr_entry *entry);
+
+/*!
+ * \brief Check is see if a dnsmgr entry has changed
+ *
+ * \retval non-zero if the dnsmgr entry has changed since the last call to
+ * this function
+ * \retval zero if the dnsmgr entry has not changed since the last call to
+ * this function
+ */
+int ast_dnsmgr_changed(struct ast_dnsmgr_entry *entry);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif /* c_plusplus */