From 8afd4e1b8d5550d450bc18faaafc5ecb65cc0de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odin=20Omdal=20H=C3=B8rthe?= Date: Sat, 20 Oct 2007 17:38:03 +0200 Subject: [PATCH] Documented cinelerra_plugin_lookup in plugin.c --- src/lib/plugin.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/plugin.c b/src/lib/plugin.c index f71eab529..c37e8fec3 100644 --- a/src/lib/plugin.c +++ b/src/lib/plugin.c @@ -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) {