diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-03 16:47:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-03 16:47:40 +0000 |
commit | f16930668a928471847cd327e1edc69b6d27b979 (patch) | |
tree | b3863886e1bf6479858fbc564c1ba5273fcf9dc5 /include | |
parent | 73fda5d362f0dd7b9550badf364330b2fd4810db (diff) |
Added test framework, so that i can work on improving MakeIP6Int
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4677 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/dns.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h index db058be9b..8550e5e70 100644 --- a/include/dns.h +++ b/include/dns.h @@ -318,6 +318,11 @@ class DNS : public Extensible * counter (currid) */ unsigned long PRNG(); + + /** + * Turn an in6_addr into a .ip6.int domain + */ + static void MakeIP6Int(char* query, const in6_addr *ip); }; #endif |