diff options
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index ad4441bd3..4b1b1b199 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -1643,6 +1643,16 @@ GNUNET_FS_year_to_time (unsigned int year); | |||
1643 | 1643 | ||
1644 | 1644 | ||
1645 | /** | 1645 | /** |
1646 | * Convert an expiration time to the respective year (rounds) | ||
1647 | * | ||
1648 | * @param at absolute time | ||
1649 | * @return year a year (after 1970), 0 on error | ||
1650 | */ | ||
1651 | unsigned int | ||
1652 | GNUNET_FS_time_to_year (struct GNUNET_TIME_Absolute at); | ||
1653 | |||
1654 | |||
1655 | /** | ||
1646 | * Handle to the file-sharing service. | 1656 | * Handle to the file-sharing service. |
1647 | */ | 1657 | */ |
1648 | struct GNUNET_FS_Handle; | 1658 | struct GNUNET_FS_Handle; |