]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dns.h
XHTML 1.1 spec validation and charset
[user/henk/code/inspircd.git] / include / dns.h
index e907c7e2c8855b987f03c54ad9cdfc2b8601ba77..b0dc3636f0caf4cc189147937425ed700cbd21a1 100644 (file)
@@ -19,9 +19,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #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;
 };
@@ -30,7 +33,7 @@ struct dns_ip4list {
 /** 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;