]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
More stuff for allowing hostnames in <bind> and <link> again - note there is a FIXME...
[user/henk/code/inspircd.git] / include / users.h
index 81ab1c844ce3c42d9f7c73790864c8d909b96530..25db5eb081eff30a95c60e4ca85c42a188764ce3 100644 (file)
  * ---------------------------------------------------
  */
 
-#include "inspircd_config.h" 
-#include "channels.h"
-#include "inspstring.h"
-#include "connection.h"
+#ifndef __USERS_H__ 
+#define __USERS_H__ 
+
 #include <string>
+
 #ifdef THREADED_DNS
 #include <pthread.h>
 #endif
-#ifndef __USERS_H__ 
-#define __USERS_H__ 
 
+#include "inspircd_config.h" 
+#include "socket.h"
+#include "channels.h"
+#include "inspstring.h"
+#include "connection.h"
 #include "hashcomp.h"
 #include "cull_list.h"
 
@@ -142,7 +144,7 @@ class userrec : public connection
        /** The host displayed to non-opers (used for cloaking etc).
         * This usually matches the value of userrec::host.
         */
-       char dhost[64];
+       char dhost[65];
        
        /** The users full name.
         */
@@ -402,4 +404,7 @@ bool DoType(const char* tag, char** entries, void** values, int* types);
 bool DoClass(const char* tag, char** entries, void** values, int* types);
 bool DoneClassesAndTypes(const char* tag);
 
+long FindMatchingGlobal(userrec* user);
+long FindMatchingLocal(userrec* user);
+
 #endif