diff options
author | randomdan <randomdan@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-07-22 21:56:38 +0000 |
---|---|---|
committer | randomdan <randomdan@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-07-22 21:56:38 +0000 |
commit | 61b45c935dbb50c280970c9f431fd1c7ef4eb680 (patch) | |
tree | af2d10b329c9ef362d97c884827dd1e0a11841b4 /include/globals.h | |
parent | e1cc6b33f4e5510f65d8cfeb62b0f31d567e1bbf (diff) |
STL namespace fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@176 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/globals.h')
-rw-r--r-- | include/globals.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/globals.h b/include/globals.h index 07c32303f..4f5e035e2 100644 --- a/include/globals.h +++ b/include/globals.h @@ -10,13 +10,13 @@ // include the common header files #include <typeinfo> -#include <iostream.h> +#include <iostream> #include <string> #include <deque> #include "users.h" #include "channels.h" -typedef deque<string> file_cache; +typedef std::deque<std::string> file_cache; void WriteOpers(char* text, ...); void log(int level, char *text, ...); @@ -31,14 +31,15 @@ void WriteCommon(userrec *u, char* text, ...); void WriteCommonExcept(userrec *u, char* text, ...); void WriteWallOps(userrec *source, char* text, ...); int isnick(const char *n); -userrec* Find(string nick); +userrec* Find(std::string nick); chanrec* FindChan(const char* chan); char* cmode(userrec *user, chanrec *chan); -string getservername(); -string getnetworkname(); -string getadminname(); -string getadminemail(); -string getadminnick(); +std::string getservername(); +std::string getnetworkname(); +std::string getadminname(); +std::string getadminemail(); +std::string getadminnick(); void readfile(file_cache &F, const char* fname); +int ModeDefiend(char c, int i); #endif |