Squash
0.7.0
|
A plugin. More...
Data Structures | |
struct | SquashPlugin |
A plugin. More... | |
Typedefs | |
typedef void(* | SquashPluginForeachFunc) (SquashPlugin *plugin, void *data) |
Squashlback to be invoked on each SquashPlugin in a set. More... | |
Functions | |
SquashStatus | squash_plugin_init (SquashPlugin *plugin) |
load a SquashPlugin More... | |
const char * | squash_plugin_get_name (SquashPlugin *plugin) |
Get the name of a plugin. More... | |
SquashLicense * | squash_plugin_get_licenses (SquashPlugin *plugin) |
Get the licenses of the plugin. More... | |
SquashCodec * | squash_plugin_get_codec (SquashPlugin *plugin, const char *codec) |
Get a codec from a plugin by name. More... | |
void | squash_plugin_foreach_codec (SquashPlugin *plugin, SquashCodecForeachFunc func, void *data) |
Execute a callback for every codec in the plugin. More... | |
A plugin.
SquashPluginForeachFunc |
Squashlback to be invoked on each SquashPlugin in a set.
plugin | A plugin |
data | User-supplied data |
void squash_plugin_foreach_codec | ( | SquashPlugin * | plugin, |
SquashCodecForeachFunc | func, | ||
void * | data | ||
) |
Execute a callback for every codec in the plugin.
plugin | The plugin |
func | The callback to execute |
data | Data to pass to the callback |
SquashCodec* squash_plugin_get_codec | ( | SquashPlugin * | plugin, |
const char * | codec | ||
) |
SquashLicense* squash_plugin_get_licenses | ( | SquashPlugin * | plugin | ) |
const char* squash_plugin_get_name | ( | SquashPlugin * | plugin | ) |
SquashStatus squash_plugin_init | ( | SquashPlugin * | plugin | ) |
load a SquashPlugin
plugin | The plugin to load. |
SQUASH_OK | The plugin has been loaded. |
SQUASH_UNABLE_TO_LOAD | Unable to load plugin. |