diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-07 18:32:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-07 18:32:31 +0000 |
commit | 4c6b7c70ce61cb431df07780eba935eca529a65b (patch) | |
tree | 8c52c386b50043bc8768a9a38ebc96e2e63872a1 /include/modules.h | |
parent | 2d821f2980825be73e3f90b47ffff365b0ec5ecb (diff) |
Added Metadata API (for transferring extensibles over a network transparent to the protocol)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2253 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index de9ba0c79..2c1cf4ff7 100644 --- a/include/modules.h +++ b/include/modules.h @@ -435,7 +435,15 @@ class Module : public classbase virtual void OnSyncChannel(chanrec* chan, Module* proto, void* opaque); + virtual void OnSyncChannelMetaData(chanrec* chan, Module* proto,void* opaque, std::string extname); + + virtual void OnSyncUserMetaData(userrec* user, Module* proto,void* opaque, std::string extname); + + virtual void OnDecodeMetaData(int target_type, void* target, std::string extname, std::string extdata); + virtual void ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline); + + virtual void ProtoSendMetaData(void* opaque, int target_type, void* target, std::string extname, std::string extdata); virtual void OnWallops(userrec* user, std::string text); |