gmerlin
|
Handle of a loaded plugin. More...
#include <pluginregistry.h>
Data Fields | |
void * | dll_handle |
dll_handle (don't touch) More... | |
pthread_mutex_t | mutex |
dll_handle (don't touch, use bg_plugin_lock and bg_plugin_unlock) More... | |
int | refcount |
Reference counter (don't touch, use bg_plugin_ref and bg_plugin_unref) More... | |
bg_plugin_registry_t * | plugin_reg |
The plugin registry, from which the plugin was loaded. More... | |
const bg_plugin_common_t * | plugin |
Common structure, cast this to the derived type (e.g. bg_input_plugin_t). More... | |
bg_plugin_common_t * | plugin_nc |
Used for dynamic allocation. Never touch this. More... | |
const bg_plugin_info_t * | info |
Info about this plugin. More... | |
void * | priv |
Private handle, passed as the first argument to most plugin functions. More... | |
char * | location |
Applications can save the argument of an open call here. More... | |
bg_edl_t * | edl |
EDL. More... | |
Handle of a loaded plugin.
When you load a plugin, the shared module will be loaded. Then, the create method of the plugin is called. The pointer obtained from the create method is stored in the priv member of the returned handle.
void* bg_plugin_handle_s::dll_handle |
dll_handle (don't touch)
pthread_mutex_t bg_plugin_handle_s::mutex |
dll_handle (don't touch, use bg_plugin_lock and bg_plugin_unlock)
int bg_plugin_handle_s::refcount |
Reference counter (don't touch, use bg_plugin_ref and bg_plugin_unref)
bg_plugin_registry_t* bg_plugin_handle_s::plugin_reg |
The plugin registry, from which the plugin was loaded.
const bg_plugin_common_t* bg_plugin_handle_s::plugin |
Common structure, cast this to the derived type (e.g. bg_input_plugin_t).
bg_plugin_common_t* bg_plugin_handle_s::plugin_nc |
Used for dynamic allocation. Never touch this.
const bg_plugin_info_t* bg_plugin_handle_s::info |
Info about this plugin.
void* bg_plugin_handle_s::priv |
Private handle, passed as the first argument to most plugin functions.
char* bg_plugin_handle_s::location |
Applications can save the argument of an open call here.
bg_edl_t* bg_plugin_handle_s::edl |
EDL.