Convenience class for library plugins.
More...
#include <fsys.h>
|
|
| dso () |
| | Create dso object for use by load functions.
|
| |
| | dso (const char *path) |
| | Create and map a dso object. More...
|
| |
|
int | err (void) const |
| |
| addr_t | find (const char *symbol) const |
| | Find symbol in loaded module. More...
|
| |
| void | map (const char *path) |
| | Map library object with library. More...
|
| |
|
| 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.
|
| |
Convenience class for library plugins.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 662 of file fsys.h.
◆ dso()
| ucommon::dso::dso |
( |
const char * |
path | ) |
|
Create and map a dso object.
- Parameters
-
◆ find()
| addr_t ucommon::dso::find |
( |
const char * |
symbol | ) |
const |
Find symbol in loaded module.
- Parameters
-
| module | to search. |
| symbol | to search for. |
- Returns
- address of symbol or NULL if not found.
◆ map()
| void ucommon::dso::map |
( |
const char * |
path | ) |
|
Map library object with library.
- Parameters
-
The documentation for this class was generated from the following file: