diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-08 09:23:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-08 09:23:47 +0000 |
commit | 539be627c009c2f13da19d6ae847168c1f5d496e (patch) | |
tree | 78814fdb491c52349f793af5898858a56e32117a /src/fs/gnunet-service-fs_pe.h | |
parent | 941c7ee262792114da1811cf4404b04550e071b1 (diff) | |
download | gnunet-539be627c009c2f13da19d6ae847168c1f5d496e.tar.gz gnunet-539be627c009c2f13da19d6ae847168c1f5d496e.zip |
-LRN: my experimental block download time measurer. The results
can be found there - [1].
[1] http://lrn.no-ip.info/other/gnunet_download_tie.log
Diffstat (limited to 'src/fs/gnunet-service-fs_pe.h')
-rw-r--r-- | src/fs/gnunet-service-fs_pe.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pe.h b/src/fs/gnunet-service-fs_pe.h index 3ae9904a6..da20a7d7b 100644 --- a/src/fs/gnunet-service-fs_pe.h +++ b/src/fs/gnunet-service-fs_pe.h | |||
@@ -58,6 +58,19 @@ GSF_plan_notify_peer_disconnect_ (const struct GSF_ConnectedPeer *cp); | |||
58 | void | 58 | void |
59 | GSF_plan_notify_request_done_ (struct GSF_PendingRequest *pr); | 59 | GSF_plan_notify_request_done_ (struct GSF_PendingRequest *pr); |
60 | 60 | ||
61 | /** | ||
62 | * Get the last transmission attempt time for the request plan list | ||
63 | * referenced by @rpr_head, that was sent to @sender | ||
64 | * | ||
65 | * @param rpr_head request plan reference list to check. | ||
66 | * @param sender the peer that we've sent the request to. | ||
67 | * @param result the timestamp to fill. | ||
68 | * @return GNUNET_YES if @result was changed, GNUNET_NO otherwise. | ||
69 | */ | ||
70 | int | ||
71 | GSF_request_plan_reference_get_last_transmission_ ( | ||
72 | struct GSF_RequestPlanReference *rpr_head, struct GSF_ConnectedPeer *sender, | ||
73 | struct GNUNET_TIME_Absolute *result); | ||
61 | 74 | ||
62 | /** | 75 | /** |
63 | * Initialize plan subsystem. | 76 | * Initialize plan subsystem. |