gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17978 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r17978 - gnunet/src/include
Date: Fri, 4 Nov 2011 10:15:07 +0100

Author: grothoff
Date: 2011-11-04 10:15:06 +0100 (Fri, 04 Nov 2011)
New Revision: 17978

Modified:
   gnunet/src/include/gnunet_strings_lib.h
Log:
fix

Modified: gnunet/src/include/gnunet_strings_lib.h
===================================================================
--- gnunet/src/include/gnunet_strings_lib.h     2011-11-04 09:14:23 UTC (rev 
17977)
+++ gnunet/src/include/gnunet_strings_lib.h     2011-11-04 09:15:06 UTC (rev 
17978)
@@ -63,6 +63,19 @@
 
 
 /**
+ * Convert a given fancy human-readable time to our internal
+ * representation.
+ *
+ * @param fancy_size human readable string (i.e. 1 minute)
+ * @param rtime set to the relative time
+ * @return GNUNET_OK on success, GNUNET_SYSERR on error
+ */
+int
+GNUNET_STRINGS_fancy_time_to_relative (const char *fancy_size,
+                                      struct GNUNET_TIME_Relative *rtime);
+
+
+/**
  * Convert a given filesize into a fancy human-readable format.
  *
  * @param size number of bytes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]