aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-02-15 15:30:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-02-15 15:30:06 +0000
commitd5c5c5b962115be085a1cc71a0480d7e2a3eda73 (patch)
tree96bdd8c004a00556ac9df07393aecf17f723636e /src/fs/gnunet-service-fs_cp.h
parent0ad72d359ab3ea5f232f4a8a0eb04700e8c84b49 (diff)
downloadgnunet-d5c5c5b962115be085a1cc71a0480d7e2a3eda73.tar.gz
gnunet-d5c5c5b962115be085a1cc71a0480d7e2a3eda73.zip
stuff
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.h')
-rw-r--r--src/fs/gnunet-service-fs_cp.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h
index bc561f792..081a1d5ba 100644
--- a/src/fs/gnunet-service-fs_cp.h
+++ b/src/fs/gnunet-service-fs_cp.h
@@ -204,15 +204,35 @@ GSF_peer_transmit_cancel_ (struct GSF_PeerTransmitHandle *pth);
204 * @param cp responding peer (will be updated) 204 * @param cp responding peer (will be updated)
205 * @param request_time time at which the original query was transmitted 205 * @param request_time time at which the original query was transmitted
206 * @param request_priority priority of the original request 206 * @param request_priority priority of the original request
207 * @param initiator_client local client on responsible for query (or NULL)
208 * @param initiator_peer other peer responsible for query (or NULL)
209 */ 207 */
210void 208void
211GSF_peer_update_performance_ (struct GSF_ConnectedPeer *cp, 209GSF_peer_update_performance_ (struct GSF_ConnectedPeer *cp,
212 struct GNUNET_TIME_Absolute request_time, 210 struct GNUNET_TIME_Absolute request_time,
213 uint32_t request_priority, 211 uint32_t request_priority);
214 const struct GSF_LocalClient *initiator_client, 212
215 const struct GSF_ConnectedPeer *initiator_peer); 213
214/**
215 * Report on receiving a reply in response to an initiating client.
216 * Remember that this peer is good for this client.
217 *
218 * @param cp responding peer (will be updated)
219 * @param initiator_client local client on responsible for query
220 */
221void
222GSF_peer_update_responder_client_ (struct GSF_ConnectedPeer *cp,
223 const struct GSF_LocalClient *initiator_client);
224
225
226/**
227 * Report on receiving a reply in response to an initiating peer.
228 * Remember that this peer is good for this initiating peer.
229 *
230 * @param cp responding peer (will be updated)
231 * @param initiator_peer other peer responsible for query
232 */
233void
234GSF_peer_update_responder_peer_ (struct GSF_ConnectedPeer *cp,
235 const struct GSF_ConnectedPeer *initiator_peer);
216 236
217 237
218/** 238/**