aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-12-07 18:32:31 +0000
committerGravatar brain2005-12-07 18:32:31 +0000
commit4c6b7c70ce61cb431df07780eba935eca529a65b (patch)
tree8c52c386b50043bc8768a9a38ebc96e2e63872a1 /src/modules.cpp
parentChanged behaviour of module API to pass Server* to the constructor, rather th... (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 'src/modules.cpp')
-rw-r--r--src/modules.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 58c950411..f47a2cb4e 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -368,6 +368,10 @@ void Module::OnGetServerDescription(std::string servername,std::string &descrip
void Module::OnSyncUser(userrec* user, Module* proto, void* opaque) { };
void Module::OnSyncChannel(chanrec* chan, Module* proto, void* opaque) { };
void Module::ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline) { };
+void Module::OnSyncChannelMetaData(chanrec* chan, Module* proto,void* opaque, std::string extname) { };
+void Module::OnSyncUserMetaData(userrec* user, Module* proto,void* opaque, std::string extname) { };
+void Module::OnDecodeMetaData(int target_type, void* target, std::string extname, std::string extdata) { };
+void Module::ProtoSendMetaData(void* opaque, int target_type, void* target, std::string extname, std::string extdata) { };
void Module::OnWallops(userrec* user, std::string text) { };
void Module::OnChangeHost(userrec* user, std::string newhost) { };
void Module::OnChangeName(userrec* user, std::string gecos) { };