1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2010 InspIRCd Development Team
6 * See: http://wiki.inspircd.org/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
17 /** The DLLManager class is able to load a module file by filename,
18 * and locate its init_module symbol.
20 class CoreExport DLLManager : public classbase
23 /** The last error string
28 /** This constructor loads the module using dlopen()
29 * @param fname The filename to load. This should be within
32 DLLManager(const char *fname);
33 virtual ~DLLManager();
35 /** Get the last error from dlopen() or dlsym().
37 const std::string& LastError()
42 /** The module library handle.
46 /** Return a module by calling the init function
50 /** Get detailed version information from the module file */
51 std::string GetVersion();