summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h
index 238ef938a..121ea716c 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -537,6 +537,13 @@ namespace Anope
*/
extern Anope::string Resolve(const Anope::string &host, int type);
+ /** Does a blocking dns query and returns all IPs.
+ * @param host host to look up
+ * @param type inet addr type
+ * @return A list of all IPs that the host resolves to
+ */
+ extern std::vector<Anope::string> ResolveMultiple(const Anope::string &host, int type);
+
/** Generate a string of random letters and numbers
* @param len The length of the string returned
*/