diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 23:26:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 23:26:11 +0000 |
commit | e00b5b82db1fdffd97704ea1b43bf921476adfa1 (patch) | |
tree | 3dd07f3b2d5795b13518579ec87748c3d74023d2 /include | |
parent | f44d25e8c3c5cad78c71c3a5e5d3016f241c4c79 (diff) |
Comments, add more detail, remove dnsqueue.h include from tons of places
Remove THREADED_DNS defines from all over the place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4629 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/include/users.h b/include/users.h index 9229cbe11..ea8700485 100644 --- a/include/users.h +++ b/include/users.h @@ -18,11 +18,6 @@ #define __USERS_H__ #include <string> - -#ifdef THREADED_DNS -#include <pthread.h> -#endif - #include "inspircd_config.h" #include "socket.h" #include "channels.h" @@ -69,9 +64,15 @@ class Invited : public classbase irc::string channel; }; + + +/** Derived from Resolver, and performs user forward/reverse lookups. + */ class UserResolver : public Resolver { private: + /** User this class is 'attached' to. + */ userrec* bound_user; int bound_fd; public: @@ -416,12 +417,6 @@ class userrec : public connection /** Default destructor */ virtual ~userrec(); - -#ifdef THREADED_DNS - /** Thread used for threaded lookups - */ - pthread_t dnsthread; -#endif }; /** Used to hold WHOWAS information |