aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-08 18:07:21 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-08 18:07:21 +0000
commit834c2cf9268d7738b314bfb1e0f11484500d4dbd (patch)
treef8b190e7f7a3af4266f9c2437caf74bae5a5293f /src/include/gnunet_fs_service.h
parentaf0104f64c68a5c5d0b00507494e81d9080b1aa1 (diff)
downloadgnunet-834c2cf9268d7738b314bfb1e0f11484500d4dbd.tar.gz
gnunet-834c2cf9268d7738b314bfb1e0f11484500d4dbd.zip
-moving time functions from FS to TIME
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 407c5d296..2987302a3 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -1630,33 +1630,6 @@ struct GNUNET_FS_BlockOptions
1630 1630
1631 1631
1632/** 1632/**
1633 * Return the current year (i.e. '2011').
1634 */
1635unsigned int
1636GNUNET_FS_get_current_year (void);
1637
1638
1639/**
1640 * Convert a year to an expiration time of January 1st of that year.
1641 *
1642 * @param year a year (after 1970, please ;-)).
1643 * @return absolute time for January 1st of that year.
1644 */
1645struct GNUNET_TIME_Absolute
1646GNUNET_FS_year_to_time (unsigned int year);
1647
1648
1649/**
1650 * Convert an expiration time to the respective year (rounds)
1651 *
1652 * @param at absolute time
1653 * @return year a year (after 1970), 0 on error
1654 */
1655unsigned int
1656GNUNET_FS_time_to_year (struct GNUNET_TIME_Absolute at);
1657
1658
1659/**
1660 * Handle to the file-sharing service. 1633 * Handle to the file-sharing service.
1661 */ 1634 */
1662struct GNUNET_FS_Handle; 1635struct GNUNET_FS_Handle;