1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2009 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 * ---------------------------------------------------
19 /** The DLLManager class is able to load a module file by filename,
20 * and locate its init_module symbol.
22 class CoreExport DLLManager : public classbase
25 /** The last error string
30 /** This constructor loads the module using dlopen()
31 * @param fname The filename to load. This should be within
34 DLLManager(const char *fname);
35 virtual ~DLLManager();
37 /** Get the last error from dlopen() or dlsym().
39 const std::string& LastError()
44 /** The module library handle.
48 /** Return a module by calling the init function