|
|||
|
|||
|
#include <dynamic.h>
Inheritance diagram for DLLManager:


Public Member Functions | |
| DLLManager (InspIRCd *ServerInstance, const char *fname) | |
| This constructor loads the module using dlopen(). | |
| virtual | ~DLLManager () |
| bool | GetSymbol (void **v, const char *sym_name) |
| Get a symbol using dynamic linking. | |
| const char * | LastError () |
| Get the last error from dlopen() or dlsym(). | |
Public Attributes | |
| void * | h |
| The module handle. | |
Protected Attributes | |
| const char * | err |
| The last error string, or NULL. | |
Definition at line 20 of file dynamic.h.
|
||||||||||||
|
This constructor loads the module using dlopen().
Definition at line 22 of file dynamic.cpp. |
|
|
Definition at line 40 of file dynamic.cpp. References h. |
|
||||||||||||
|
Get a symbol using dynamic linking.
Definition at line 49 of file dynamic.cpp. Referenced by DLLFactory< ReturnType >::DLLFactory(). |
|
|
Get the last error from dlopen() or dlsym().
Definition at line 47 of file dynamic.h. Referenced by DLLFactory< ReturnType >::DLLFactory(). |
|
|
The last error string, or NULL.
Definition at line 26 of file dynamic.h. Referenced by DLLManager(), and GetSymbol(). |
|
|
The module handle. This is OS dependent, on POSIX platforms it is a pointer to a function pointer (yes, really!) and on windows it is a library handle. Definition at line 56 of file dynamic.h. Referenced by DLLManager(), GetSymbol(), and ~DLLManager(). |