The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

typedefs.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
00002  *       | Inspire Internet Relay Chat Daemon |
00003  *       +------------------------------------+
00004  *
00005  *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
00006  * See: http://www.inspircd.org/wiki/index.php/Credits
00007  *
00008  * This program is free but copyrighted software; see
00009  *            the file COPYING for details.
00010  *
00011  * ---------------------------------------------------
00012  */
00013 
00014 #ifndef __TYPEDEF_H__
00015 #define __TYPEDEF_H__
00016 
00017 #include <string>
00018 #include "inspircd_config.h"
00019 #include "hash_map.h"
00020 #include "users.h"
00021 #include "channels.h"
00022 #include "hashcomp.h"
00023 #include "inspstring.h"
00024 #include "ctables.h"
00025 #include "modules.h"
00026 #include "globals.h"
00027 
00028 #ifndef WIN32
00029 
00031 typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash;
00034 typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash;
00035 #else
00036 
00038 typedef nspace::hash_map<std::string, userrec*, nspace::hash_compare<string, less<string> > > user_hash;
00041 typedef nspace::hash_map<std::string, chanrec*, nspace::hash_compare<string, less<string> > > chan_hash;
00042 #endif
00043 
00046 typedef std::vector<std::string*> servernamelist;
00047 
00050 typedef std::deque<std::string> file_cache;
00051 
00052 #endif
00053