diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-07 17:44:36 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-07 17:44:36 +0000 |
commit | d655fb8033b8a5416e3a1e34809c7786b6fad309 (patch) | |
tree | 3852a574fd05fa29501b081d02fb240c66966c9b /include | |
parent | 745248fa588a23f87522a5d5c55cbca7a93b3f90 (diff) |
add an updated patch that adds dnsmgr support for outgoing iax2 registrations
(issue #6305, by ivanfm, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32817 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/dnsmgr.h | 18 |
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 */ |