From ccf86b877c9443e0dd547460ca9852ff647ff598 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 12:10:51 +0000 Subject: moved declarations of typedefs for user_hash and chan_hash etc to typedefs.h git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2400 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/typedefs.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/typedefs.h (limited to 'include') diff --git a/include/typedefs.h b/include/typedefs.h new file mode 100644 index 000000000..39876207d --- /dev/null +++ b/include/typedefs.h @@ -0,0 +1,25 @@ +#ifndef __TYPEDEF_H__ +#define __TYPEDEF_H__ + +#include "users.h" +#include "channels.h" +#include "hashcomp.h" +#include "inspstring.h" +#include "ctables.h" +#include "inspircd.h" +#include "inspircd_config.h" +#include +#ifdef GCC3 +#include +#else +#include +#endif + +typedef nspace::hash_map, irc::StrHashComp> user_hash; +typedef nspace::hash_map, irc::StrHashComp> chan_hash; +typedef nspace::hash_map, irc::InAddr_HashComp> address_cache; +typedef nspace::hash_map, irc::StrHashComp> whowas_hash; +typedef std::deque command_table; +typedef std::vector servernamelist; + +#endif -- cgit v1.3.1-10-gc9f91