diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 3cf780284..7944aa609 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1047,6 +1047,13 @@ class CoreExport ModuleManager : public fakederef<ModuleManager> */ bool PrioritizeHooks(); + /** 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); + public: typedef std::map<std::string, Module*> ModuleMap; |