diff options
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 |