]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/connection.h
XHTML 1.1 spec validation and charset
[user/henk/code/inspircd.git] / include / connection.h
index d3e635aa9eafe91b0598f8071f963c1513826562..6f918204d1c69c56f15b91f9e9f6f39fe1e14909 100644 (file)
  * ---------------------------------------------------
  */
 
-#include "inspircd_config.h"
-#include "base.h"
-#include <string>
-#include <map>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <unistd.h>
-#include <errno.h>
-#include <time.h>
-#include <vector>
-#include <deque>
-#include <sstream>
-
 #ifndef __CONNECTION_H__
 #define __CONNECTION_H__
 
+#include <time.h>
+#include "inspircd_config.h"
+#include "base.h"
+
 /** Please note: classes serverrec and userrec both inherit from class connection.
  */
 class connection : public Extensible
@@ -43,12 +32,8 @@ class connection : public Extensible
        
        /** Hostname of connection. Not used if this is a serverrec
         */
-       char host[160];
-       
-       /** IP of connection.
-        */
-       char ip[16];
-       
+       char host[65];
+
        /** Stats counter for bytes inbound
         */
        int bytes_in;
@@ -105,5 +90,3 @@ class connection : public Extensible
 
 
 #endif
-
-