From f16930668a928471847cd327e1edc69b6d27b979 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 3 Aug 2006 16:47:40 +0000 Subject: 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 --- include/dns.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.3