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/inspircd.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/inspircd.h')
-rw-r--r-- | include/inspircd.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 03a5e168e..e1d75f712 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -46,7 +46,7 @@ #define SPARSE 40 #define NONE 50 -typedef deque<string> file_cache; +typedef std::deque<std::string> file_cache; /* prototypes */ int InspIRCd(void); @@ -69,14 +69,16 @@ 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 getserverdesc(); -string getnetworkname(); -string getadminname(); -string getadminemail(); -string getadminnick(); +std::string getservername(); +std::string getserverdesc(); +std::string getnetworkname(); +std::string getadminname(); +std::string getadminemail(); +std::string getadminnick(); void readfile(file_cache &F, const char* fname); - +bool ModeDefined(char c, int i); +bool ModeDefinedOn(char c, int i); +bool ModeDefinedOff(char c, int i); |