diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_container_lib.h | 15 | ||||
-rw-r--r-- | src/include/gnunet_fs_service.h | 17 |
2 files changed, 17 insertions, 15 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 604038955..1ac6cd4ed 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h | |||
@@ -365,21 +365,6 @@ GNUNET_CONTAINER_meta_data_get_thumbnail (const struct | |||
365 | GNUNET_CONTAINER_MetaData | 365 | GNUNET_CONTAINER_MetaData |
366 | *md, unsigned char **thumb); | 366 | *md, unsigned char **thumb); |
367 | 367 | ||
368 | /** | ||
369 | * Extract meta-data from a file. | ||
370 | * | ||
371 | * @param md metadata to set | ||
372 | * @param filename name of file to inspect | ||
373 | * @param extractors plugins to use | ||
374 | * @return GNUNET_SYSERR on error, otherwise the number | ||
375 | * of meta-data items obtained | ||
376 | */ | ||
377 | int | ||
378 | GNUNET_CONTAINER_meta_data_extract_from_file (struct | ||
379 | GNUNET_CONTAINER_MetaData | ||
380 | *md, const char *filename, | ||
381 | struct EXTRACTOR_PluginList * | ||
382 | extractors); | ||
383 | 368 | ||
384 | 369 | ||
385 | /** | 370 | /** |
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index ab0eca8d0..f78ddd0ca 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -1574,6 +1574,23 @@ GNUNET_FS_stop (struct GNUNET_FS_Handle *h); | |||
1574 | 1574 | ||
1575 | 1575 | ||
1576 | /** | 1576 | /** |
1577 | * Extract meta-data from a file. | ||
1578 | * | ||
1579 | * @param md metadata to set | ||
1580 | * @param filename name of file to inspect | ||
1581 | * @param extractors plugins to use | ||
1582 | * @return GNUNET_SYSERR on error, otherwise the number | ||
1583 | * of meta-data items obtained | ||
1584 | */ | ||
1585 | int | ||
1586 | GNUNET_FS_meta_data_extract_from_file (struct | ||
1587 | GNUNET_CONTAINER_MetaData | ||
1588 | *md, const char *filename, | ||
1589 | struct EXTRACTOR_PluginList * | ||
1590 | extractors); | ||
1591 | |||
1592 | |||
1593 | /** | ||
1577 | * Function called on entries in a GNUNET_FS_FileInformation publish-structure. | 1594 | * Function called on entries in a GNUNET_FS_FileInformation publish-structure. |
1578 | * | 1595 | * |
1579 | * @param cls closure | 1596 | * @param cls closure |