diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-02-15 15:30:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-02-15 15:30:06 +0000 |
commit | d5c5c5b962115be085a1cc71a0480d7e2a3eda73 (patch) | |
tree | 96bdd8c004a00556ac9df07393aecf17f723636e /src/fs/gnunet-service-fs_cp.h | |
parent | 0ad72d359ab3ea5f232f4a8a0eb04700e8c84b49 (diff) | |
download | gnunet-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.h | 30 |
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 | */ |
210 | void | 208 | void |
211 | GSF_peer_update_performance_ (struct GSF_ConnectedPeer *cp, | 209 | GSF_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 | */ | ||
221 | void | ||
222 | GSF_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 | */ | ||
233 | void | ||
234 | GSF_peer_update_responder_peer_ (struct GSF_ConnectedPeer *cp, | ||
235 | const struct GSF_ConnectedPeer *initiator_peer); | ||
216 | 236 | ||
217 | 237 | ||
218 | /** | 238 | /** |