Rudiments: /home/dmuse/temp/rudiments/include/rudiments/dynamiclib.h Source File

Rudiments

dynamiclib.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_DYNAMICLIB_H
5 #define RUDIMENTS_DYNAMICLIB_H
6
7 #include <rudiments/private/dynamiclibincludes.h>
8
11 class RUDIMENTS_DLLSPEC dynamiclib {
12 public:
13
15 dynamiclib();
16
18 ~dynamiclib();
19
28 bool open(const char *library,
29 bool loaddependencies,
30 bool global);
31
33 bool close();
34
38 void *getSymbol(const char *symbol) const;
39
47 char *getError() const;
48
56 static void setErrorMutex(threadmutex *mtx);
57
58 #include <rudiments/private/dynamiclib.h>
59 };
60
61 #endif
dynamiclib
Definition: dynamiclib.h:11
dynamiclib::close
bool close()
dynamiclib::setErrorMutex
static void setErrorMutex(threadmutex *mtx)
dynamiclib::open
bool open(const char *library, bool loaddependencies, bool global)
dynamiclib::~dynamiclib
~dynamiclib()
dynamiclib::getSymbol
void * getSymbol(const char *symbol) const
dynamiclib::getError
char * getError() const
dynamiclib::dynamiclib
dynamiclib()
threadmutex
Definition: threadmutex.h:11