diff options
author | Sadie Powell <sadie@witchery.services> | 2023-08-06 13:36:27 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2023-08-06 13:36:27 +0100 |
commit | adf820c08a0cdd404ce266da38c240390b43f0d0 (patch) | |
tree | bf17318745c9d16b739ce72e873c880b21dd2e55 /include/anope.h | |
parent | 377ba87d52ce131ffba3a78f877da7230c9a1330 (diff) | |
parent | 0715db71829786ec98c6922a9e32077ae396c87e (diff) |
Merge branch 2.0 into 2.1.
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 7 |
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 */ |