]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
m_ssl_openssl Implement custom BIO methods that call SocketEngine methods
[user/henk/code/inspircd.git] / include / modules.h
index 3cf7802846f7cc6acd2e817d8b218a1c3e6805f8..c938e6a9d0749f91e44ecb420ede9e40f5a400c9 100644 (file)
@@ -1068,6 +1068,13 @@ class CoreExport ModuleManager : public fakederef<ModuleManager>
         */
        ServiceList* NewServices;
 
+       /** Expands the name of a module by prepending "m_" and appending ".so".
+        * No-op if the name already has the ".so" extension.
+        * @param modname Module name to expand
+        * @return Module name starting with "m_" and ending with ".so"
+        */
+       static std::string ExpandModName(const std::string& modname);
+
        /** Simple, bog-standard, boring constructor.
         */
        ModuleManager();