"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/plugins/man_extractor.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.

man_extractor.c  (libextractor-1.10):man_extractor.c  (libextractor-1.11)
skipping to change at line 53 skipping to change at line 53
tmp[n] = '\0'; tmp[n] = '\0';
memcpy (tmp, str, n); memcpy (tmp, str, n);
return tmp; return tmp;
} }
/** /**
* Give a metadata item to LE. Removes double-quotes and * Give a metadata item to LE. Removes double-quotes and
* makes sure we don't pass empty strings or NULL pointers. * makes sure we don't pass empty strings or NULL pointers.
* *
* @param type metadata type to use * @param type metadata type to use
* @param keyword metdata value; freed in the process * @param keyword metadata value; freed in the process
* @param proc function to call with meta data * @param proc function to call with meta data
* @param proc_cls closure for 'proc' * @param proc_cls closure for 'proc'
* @return 0 to continue extracting, 1 if we are done * @return 0 to continue extracting, 1 if we are done
*/ */
static int static int
add_keyword (enum EXTRACTOR_MetaType type, add_keyword (enum EXTRACTOR_MetaType type,
char *keyword, char *keyword,
EXTRACTOR_MetaDataProcessor proc, EXTRACTOR_MetaDataProcessor proc,
void *proc_cls) void *proc_cls)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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