diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-26 23:07:06 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-26 23:07:06 +0000 |
commit | 107595610061e05871094ef6161a287c1dd53737 (patch) | |
tree | 682b6c4115cb1c71609026da06808d632ecc42cb /include/inspircd.h | |
parent | ca2a909147d2409742e5d895e049ae46f94f5f3a (diff) |
Add skeleton functions for UID stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7845 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 38ec9cf43..06fdd7124 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -29,6 +29,7 @@ #include <string> #include <sstream> #include "inspircd_config.h" +#include "uid.h" #include "users.h" #include "channels.h" #include "socket.h" @@ -254,6 +255,10 @@ class XLineManager; class CoreExport InspIRCd : public classbase { private: + /** Holds the current UID. Used to generate the next one. + */ + char current_uid[UUID_LENGTH]; + /** Holds a string describing the last module error to occur */ char MODERR[MAXBUF]; @@ -390,6 +395,10 @@ class CoreExport InspIRCd : public classbase */ std::map<InspSocket*,InspSocket*> SocketCull; + /** Returns the next available UID for this server. + */ + std::string GetUID(); + /** Build the ISUPPORT string by triggering all modules On005Numeric events */ void BuildISupport(); |