summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-03 23:20:20 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-03 23:20:20 +0000
commitf1271614679843191bb247c0db2716acb5ac0e4b (patch)
treefefd14e99f56bf6bc6f4c42bb58f3f7da1a310c8 /include/dns.h
parent34fe4276bd6bc6fee5293d4817c8e36e4fffd75c (diff)
Clear up header insanity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/dns.h b/include/dns.h
index 6972a1fb2..09ba10d25 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -32,21 +32,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#ifndef _DNS_H
#define _DNS_H
-#include <string>
-#include "inspircd_config.h"
-#include "base.h"
-#include "socketengine.h"
#include "socket.h"
-#include "hash_map.h"
#include "hashcomp.h"
-using namespace std;
-using irc::sockets::insp_aton;
-using irc::sockets::insp_ntoa;
-using irc::sockets::insp_sockaddr;
-using irc::sockets::insp_inaddr;
-
-class InspIRCd;
class Module;
/**
@@ -419,7 +407,7 @@ class CoreExport DNS : public EventHandler
* e.g. use ipv6 reverse lookup when built for ipv6,
* or ipv4 lookup when built for ipv4.
*/
- int GetName(const insp_inaddr* ip);
+ int GetName(const irc::sockets::insp_inaddr* ip);
/**
* Start lookup of a hostname from an ip, but