"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/extractor_plugins.c" between
libextractor-1.10.tar.gz and libextractor-1.11.tar.gz

About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.

extractor_plugins.c  (libextractor-1.10):extractor_plugins.c  (libextractor-1.11)
skipping to change at line 200 skipping to change at line 200
return 0; return 0;
} }
/** /**
* Add a library for keyword extraction. * Add a library for keyword extraction.
* *
* @param prev the previous list of libraries, may be NULL * @param prev the previous list of libraries, may be NULL
* @param library the name of the library * @param library the name of the library
* @param options options to pass to the plugin * @param options options to pass to the plugin
* @param flags options to use * @param flags options to use
* @return the new list of libraries, equal to prev iff an error occured * @return the new list of libraries, equal to prev iff an error occurred
*/ */
struct EXTRACTOR_PluginList * struct EXTRACTOR_PluginList *
EXTRACTOR_plugin_add (struct EXTRACTOR_PluginList *prev, EXTRACTOR_plugin_add (struct EXTRACTOR_PluginList *prev,
const char *library, const char *library,
const char *options, const char *options,
enum EXTRACTOR_Options flags) enum EXTRACTOR_Options flags)
{ {
struct EXTRACTOR_PluginList *plugin; struct EXTRACTOR_PluginList *plugin;
struct EXTRACTOR_PluginList *pos; struct EXTRACTOR_PluginList *pos;
char *libname; char *libname;
skipping to change at line 253 skipping to change at line 253
* *
* @param config a string given by the user that defines which * @param config a string given by the user that defines which
* libraries should be loaded. Has the format * libraries should be loaded. Has the format
* "[[-]LIBRARYNAME[(options)][:[-]LIBRARYNAME[(options)]]]*". * "[[-]LIBRARYNAME[(options)][:[-]LIBRARYNAME[(options)]]]*".
* For example, 'mp3:ogg.so' loads the * For example, 'mp3:ogg.so' loads the
* mp3 and the ogg library. The '-' before the LIBRARYNAME * mp3 and the ogg library. The '-' before the LIBRARYNAME
* indicates that the library should be removed from * indicates that the library should be removed from
* the library list. * the library list.
* @param prev the previous list of libraries, may be NULL * @param prev the previous list of libraries, may be NULL
* @param flags options to use * @param flags options to use
* @return the new list of libraries, equal to prev iff an error occured * @return the new list of libraries, equal to prev iff an error occurred
* or if config was empty (or NULL). * or if config was empty (or NULL).
*/ */
struct EXTRACTOR_PluginList * struct EXTRACTOR_PluginList *
EXTRACTOR_plugin_add_config (struct EXTRACTOR_PluginList *prev, EXTRACTOR_plugin_add_config (struct EXTRACTOR_PluginList *prev,
const char *config, const char *config,
enum EXTRACTOR_Options flags) enum EXTRACTOR_Options flags)
{ {
char *cpy; char *cpy;
size_t pos; size_t pos;
size_t last; size_t last;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)