#include <string.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <time.h>#include <sqlite3.h>#include <fakedbfs/fdbfsconfig.h>#include <fakedbfs/fakedbfs.h>#include <fakedbfs/plugins.h>#include <fakedbfs/debug.h>Defines | |
| #define | LIBERR(sym) |
Functions | |
| int | fdbfs_plugins_init (fdbfs_t *f) |
| Initialise plugin subsystem. | |
| int | fdbfs_plugin_set_cptr (fdbfs_t *f, const struct PluginInfo *pinf, void *dat) |
| Set client data. | |
| int | fdbfs_plugin_get_cptr (fdbfs_t *f, const struct PluginInfo *pinf, void **dat) |
| Get client data. | |
| void | fdbfs_plugins_set_path (fdbfs_t *f, const char *path) |
| Set plugin path. | |
|
|
Value: { \
fdbfs_debug_info(f, error, "probe_plugin: symbol referece %s failed in %s: %s", sym, fpth, dlerror()); \
free(fpth); \
free(n); \
dlclose(libhandle); \
return last; \
}
|
|
||||||||||||||||
|
Get client data. Retrieves value set with fdbfs_plugin_set_cptr().
|
|
||||||||||||||||
|
Set client data. Sets an internal pointer to an arbitrary value for later retrieval.
|
|
|
Initialise plugin subsystem.
|
|
||||||||||||
|
Set plugin path. fdbfs_plugins_set_path() sets the path that will be searched for plugins.
|
1.4.6