#define _DNS_H
#include <string>
+#include "inspircd_config.h"
#include "socket.h"
+#include "base.h"
-struct dns_ip4list {
+struct dns_ip4list
+{
in_addr ip;
dns_ip4list *next;
};
/** The DNS class allows fast nonblocking resolution of hostnames
* and ip addresses. It is based heavily upon firedns by Ian Gulliver.
*/
-class DNS
+class DNS : public Extensible
{
private:
in_addr *binip;