Rudiments
dynamiclib.h
1 // Copyright (c) 2004 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
Definition: threadmutex.h:11
Definition: dynamiclib.h:11