2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#ifndef CORE_DYNAMICLOADER_H
43#define CORE_DYNAMICLOADER_H
45#ifndef DOXYGEN_SHOULD_SKIP_THIS
47#include "core/system/dlfcn.h"
68#define dlOpen(libFile) dlRegisterHandle(core::system::dlopen((libFile).c_str(), RTLD_LOCAL | RTLD_LAZY), libFile)
72 static int dlClose(
void* handle);
73 static void*
dlSym(
void* handle,
const std::string& symbol);
static void * dlRegisterHandle(void *handle, const std::string &libFile)
static int realExecDlClose(const Library &library)
static std::list< void * > closeHandles
static int dlClose(void *handle)
static std::map< void *, Library > dlOpenedLibraries
static void * dlSym(void *handle, const std::string &symbol)
static void execDlCloseDeleyed()
static int dlClose(const Library &library)
static void execDlCloseAll()
static void dlCloseDelayed(void *handle)
int dlclose(void *handle)
void * dlsym(void *handle, const char *symbol)