Convenience class for library plugins.
More...
#include <fsys.h>
Public Types |
typedef void * | addr_t |
Public Member Functions |
| dso () |
| Create dso object for use by load functions.
|
| dso (const char *path) |
| Create and map a dso object.
|
int | err (void) const |
addr_t | find (const char *symbol) const |
| Find symbol in loaded module.
|
void | map (const char *path) |
| Map library object with library.
|
| operator bool () const |
bool | operator! () const |
addr_t | operator() (const char *symbol) const |
addr_t | operator[] (const char *symbol) const |
void | release (void) |
| Release loaded library.
|
| ~dso () |
| Destroy dso and release library.
|
Friends |
class | fsys |
Detailed Description
Convenience class for library plugins.
- Author:
- David Sugar <dyfet@gnutelephony.org>
Definition at line 643 of file fsys.h.
Constructor & Destructor Documentation
Create and map a dso object.
- Parameters:
-
Member Function Documentation
Find symbol in loaded module.
- Parameters:
-
module | to search. |
symbol | to search for. |
- Returns:
- address of symbol or NULL if not found.
Map library object with library.
- Parameters:
-
The documentation for this class was generated from the following file:
- /usr/src/RPM/BUILD/ucommon-6.3.3/inc/ucommon/fsys.h