X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fglobals.h;h=2de2ba11bcd2f248950f60f334d869c3be0fa5d8;hb=8c2d96013084de950e3a63be4ae6ed626c4093ab;hp=5755c1fd0e2455292ca8d4970ee153d4dee150d9;hpb=bab14f0dd2345c9d7dcbc47c918563709e1ac094;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/globals.h b/include/globals.h index 5755c1fd0..2de2ba11b 100644 --- a/include/globals.h +++ b/include/globals.h @@ -1 +1,37 @@ -/* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * * InspIRCd: (C) 2002-2007 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ #ifndef __WORLD_H #define __WORLD_H #include #include #include #include /** A cached text file stored with its contents as lines */ typedef std::deque file_cache; /** A configuration key and value pair */ typedef std::pair< std::string, std::string > KeyVal; /** A list of related configuration keys and values */ typedef std::vector< KeyVal > KeyValList; /** An entire config file, built up of KeyValLists */ typedef std::multimap< std::string, KeyValList > ConfigDataHash; #endif \ No newline at end of file +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd: (C) 2002-2008 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits + * + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#ifndef __WORLD_H +#define __WORLD_H + +#include +#include +#include + +/** A cached text file stored with its contents as lines + */ +typedef std::deque< std::string > file_cache; + +/** A configuration key and value pair + */ +typedef std::pair< std::string, std::string > KeyVal; + +/** A list of related configuration keys and values + */ +typedef std::vector< KeyVal > KeyValList; + +/** An entire config file, built up of KeyValLists + */ +typedef std::multimap< std::string, KeyValList > ConfigDataHash; + +#endif