TODO: document this class. More...
#include <sharedlib.h>
Public Types | |
typedef bool | entrypoint (void *obj) |
typedef void | initentry (as_object &obj) |
Public Member Functions | |
SharedLib (const std::string &filespec) | |
DSOEXPORT | SharedLib (const std::string &filespec, const std::string &envvar) |
~SharedLib () | |
DSOEXPORT bool | openLib () |
bool | openLib (const std::string &filespec) |
entrypoint * | getDllSymbol (const std::string &symbol) |
DSOEXPORT initentry * | getInitEntry (const std::string &symbol) |
TODO: document this class.
typedef bool gnash::SharedLib::entrypoint(void *obj) |
typedef void gnash::SharedLib::initentry(as_object &obj) |
gnash::SharedLib::SharedLib | ( | const std::string & | filespec | ) |
gnash::SharedLib::SharedLib | ( | const std::string & | filespec, | |
const std::string & | envvar | |||
) |
References _, lt_dlerror(), and lt_dlinit().
gnash::SharedLib::~SharedLib | ( | ) |
SharedLib::entrypoint * gnash::SharedLib::getDllSymbol | ( | const std::string & | symbol | ) |
References _, lt_dlsym(), and lt_ptr.
SharedLib::initentry * gnash::SharedLib::getInitEntry | ( | const std::string & | symbol | ) |
References _, lt_dlsym(), and lt_ptr.
Referenced by cygnal::Handler::initModule(), gnash::Extension::initModule(), and gnash::Extension::initModuleWithFunc().
bool gnash::SharedLib::openLib | ( | ) |
bool gnash::SharedLib::openLib | ( | const std::string & | filespec | ) |
References _, lt_dlerror(), lt_dlmakeresident(), and lt_dlopenext().