Documented cinelerra_plugin_lookup in plugin.c

This commit is contained in:
Odin Omdal Hørthe 2007-10-20 17:38:03 +02:00
parent 74a7bf4493
commit 8afd4e1b8d

View file

@ -115,6 +115,14 @@ cinelerra_init_plugin (void)
NOBUG_INIT_FLAG (cinelerra_plugin);
}
/**
* Find and set pathname for the plugin.
* Searches through given path for given plugin, trying to find the file's location in the filesystem.
* If found, self->pathname will be set to the found plugin file.
* @param self The cinelerra_plugin to open look for.
* @param path The path to search trough (paths seperated by ":")
* @return 0 on success. -1 on error, or if plugin not found in path.
*/
int
cinelerra_plugin_lookup (struct cinelerra_plugin* self, const char* path)
{