bg_plugin_handle_s Struct Reference
[Plugin registry]

Handle of a loaded plugin. More...

#include <pluginregistry.h>


Data Fields

void * dll_handle
 dll_handle (don't touch)
pthread_mutex_t mutex
 dll_handle (don't touch, use bg_plugin_lock and bg_plugin_unlock)
int refcount
 Reference counter (don't touch, use bg_plugin_ref and bg_plugin_unref).
bg_plugin_registry_tplugin_reg
 The plugin registry, from which the plugin was loaded.
const bg_plugin_common_tplugin
 Common structure, cast this to the derived type (e.g. bg_input_plugin_t).
bg_plugin_common_tplugin_nc
 Used for dynamic allocation. Never touch this.
const bg_plugin_info_tinfo
 Info about this plugin.
void * priv
 Private handle, passed as the first argument to most plugin functions.
char * location
 Applications can save the argument of an open call here.
bg_edl_tedl
 EDL.


Detailed Description

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.


Field Documentation

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)

Reference counter (don't touch, use bg_plugin_ref and bg_plugin_unref).

The plugin registry, from which the plugin was loaded.

Common structure, cast this to the derived type (e.g. bg_input_plugin_t).

Used for dynamic allocation. Never touch this.

Info about this plugin.

Private handle, passed as the first argument to most plugin functions.

Applications can save the argument of an open call here.

EDL.


The documentation for this struct was generated from the following file:

Generated on Fri Oct 23 10:45:04 2009 for gmerlin by  doxygen 1.5.9