aboutsummaryrefslogtreecommitdiffstats
path: root/include/command_parse.h
diff options
context:
space:
mode:
authorGravatar danieldg2009-09-02 00:46:29 +0000
committerGravatar danieldg2009-09-02 00:46:29 +0000
commit1ea2fca7678ca3fe585c5812f9f62799e4a46ec5 (patch)
treeca6d3be2f58975c4f6c86c75c95a9d74bb05d81a /include/command_parse.h
parentFix valgrind uninitialised memory error (diff)
downloadinspircd++-1ea2fca7678ca3fe585c5812f9f62799e4a46ec5.tar.gz
inspircd++-1ea2fca7678ca3fe585c5812f9f62799e4a46ec5.tar.bz2
inspircd++-1ea2fca7678ca3fe585c5812f9f62799e4a46ec5.zip
Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/command_parse.h')
-rw-r--r--include/command_parse.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index 3177dc95b..2cf403de1 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -182,6 +182,10 @@ class CoreExport CommandParser : public classbase
*/
void RemoveCommands(const char* source);
+ /** Remove all core commands and unload their shared objects
+ */
+ void RemoveRFCCommands();
+
/** Add a new command to the commands hash
* @param f The new Command to add to the list
* @param so_handle The handle to the shared object where the command can be found.