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 
16 
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
Definition: dynamiclib.h:11
bool close()
static void setErrorMutex(threadmutex *mtx)
bool open(const char *library, bool loaddependencies, bool global)
void * getSymbol(const char *symbol) const
char * getError() const
Definition: threadmutex.h:11