aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-08-29 20:58:34 +0000
committerChristian Grothoff <christian@grothoff.org>2009-08-29 20:58:34 +0000
commit70e446850e82317805db0a2f1508e3edc81b6a7f (patch)
tree651dcd40fe9148256f2d5de239e40e31ce3661d9 /src/include/gnunet_fs_service.h
parent61b1c378568bbf7ca7cb1a51d2f1920d5d36fd26 (diff)
downloadgnunet-70e446850e82317805db0a2f1508e3edc81b6a7f.tar.gz
gnunet-70e446850e82317805db0a2f1508e3edc81b6a7f.zip
more
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index f78ed51e5..6e18e67c8 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -726,7 +726,7 @@ struct GNUNET_FS_ProgressInfo
726 * (will be a value in the past for completed 726 * (will be a value in the past for completed
727 * uploads). 727 * uploads).
728 */ 728 */
729 struct GNUNET_TIME_Absolute eta; 729 struct GNUNET_TIME_Relative eta;
730 730
731 /** 731 /**
732 * How long has this upload been actively running 732 * How long has this upload been actively running
@@ -782,11 +782,29 @@ struct GNUNET_FS_ProgressInfo
782 * Error message, NULL if no error was encountered so far. 782 * Error message, NULL if no error was encountered so far.
783 */ 783 */
784 const char *message; 784 const char *message;
785
786 /**
787 * URI of the file (if the download had been completed)
788 */
789 const struct GNUNET_FS_Uri *chk_uri;
785 790
786 } resume; 791 } resume;
787 792
788 /** 793 /**
789 * These values are only valid for 794 * These values are only valid for
795 * GNUNET_FS_STATUS_PUBLISH_COMPLETED events.
796 */
797 struct {
798
799 /**
800 * URI of the file.
801 */
802 const struct GNUNET_FS_Uri *chk_uri;
803
804 } completed;
805
806 /**
807 * These values are only valid for
790 * GNUNET_FS_STATUS_PUBLISH_ERROR events. 808 * GNUNET_FS_STATUS_PUBLISH_ERROR events.
791 */ 809 */
792 struct { 810 struct {
@@ -844,7 +862,7 @@ struct GNUNET_FS_ProgressInfo
844 * (will be a value in the past for completed 862 * (will be a value in the past for completed
845 * uploads). 863 * uploads).
846 */ 864 */
847 struct GNUNET_TIME_Absolute eta; 865 struct GNUNET_TIME_Relative eta;
848 866
849 /** 867 /**
850 * How long has this download been active? 868 * How long has this download been active?
@@ -1256,7 +1274,7 @@ struct GNUNET_FS_ProgressInfo
1256 * (will be a value in the past for completed 1274 * (will be a value in the past for completed
1257 * unindexing opeations). 1275 * unindexing opeations).
1258 */ 1276 */
1259 struct GNUNET_TIME_Absolute eta; 1277 struct GNUNET_TIME_Relative eta;
1260 1278
1261 /** 1279 /**
1262 * How long has this upload been actively running 1280 * How long has this upload been actively running