2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef CORE_DYNAMICLOADER_H
21#define CORE_DYNAMICLOADER_H
23#ifndef DOXYGEN_SHOULD_SKIP_THIS
25#include "core/system/dlfcn.h"
46#define dlOpen(libFile) dlRegisterHandle(core::system::dlopen((libFile).c_str(), RTLD_LOCAL | RTLD_LAZY), libFile)
48 static void* dlRegisterHandle(
void* handle,
const std::string& libFile);
50 static int dlClose(
void* handle);
51 static void* dlSym(
void* handle,
const std::string& symbol);
static int realExecDlClose(const Library &library)
static std::list< void * > closeHandles
static int dlClose(void *handle)
static std::map< void *, Library > dlOpenedLibraries
static void execDlCloseDeleyed()
static int dlClose(const Library &library)
static void execDlCloseAll()
static void dlCloseDelayed(void *handle)