diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
commit | f44c0036572d5557d2496748a4190a61e40e61ff (patch) | |
tree | bceb908e8542883ed246f96b4c619c0c49a06782 /src/fs/gnunet-service-fs_cp.h | |
parent | 9d87d51965287d83ee332b8c50baff95bd62649a (diff) | |
download | gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.tar.gz gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.zip |
replacing 0-terminated atsi-array with array+length in core API (and the core-connect IPC)
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.h')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h index c725dee75..8923513c7 100644 --- a/src/fs/gnunet-service-fs_cp.h +++ b/src/fs/gnunet-service-fs_cp.h | |||
@@ -168,11 +168,13 @@ struct GSF_PeerTransmitHandle; | |||
168 | * | 168 | * |
169 | * @param peer identity of peer that connected | 169 | * @param peer identity of peer that connected |
170 | * @param atsi performance data for the connection | 170 | * @param atsi performance data for the connection |
171 | * @param atsi_count number of records in 'atsi' | ||
171 | * @return handle to connected peer entry | 172 | * @return handle to connected peer entry |
172 | */ | 173 | */ |
173 | struct GSF_ConnectedPeer * | 174 | struct GSF_ConnectedPeer * |
174 | GSF_peer_connect_handler_ (const struct GNUNET_PeerIdentity *peer, | 175 | GSF_peer_connect_handler_ (const struct GNUNET_PeerIdentity *peer, |
175 | const struct GNUNET_ATS_Information *atsi); | 176 | const struct GNUNET_ATS_Information *atsi, |
177 | unsigned int atsi_count); | ||
176 | 178 | ||
177 | 179 | ||
178 | /** | 180 | /** |
@@ -260,6 +262,7 @@ GSF_peer_update_responder_peer_ (struct GSF_ConnectedPeer *cp, | |||
260 | * for loopback messages where we are both sender and receiver) | 262 | * for loopback messages where we are both sender and receiver) |
261 | * @param message the actual message | 263 | * @param message the actual message |
262 | * @param atsi performance information | 264 | * @param atsi performance information |
265 | * @param atsi_count number of records in 'atsi' | ||
263 | * @return GNUNET_OK to keep the connection open, | 266 | * @return GNUNET_OK to keep the connection open, |
264 | * GNUNET_SYSERR to close it (signal serious error) | 267 | * GNUNET_SYSERR to close it (signal serious error) |
265 | */ | 268 | */ |
@@ -268,7 +271,8 @@ GSF_handle_p2p_migration_stop_ (void *cls, | |||
268 | const struct GNUNET_PeerIdentity *other, | 271 | const struct GNUNET_PeerIdentity *other, |
269 | const struct GNUNET_MessageHeader *message, | 272 | const struct GNUNET_MessageHeader *message, |
270 | const struct GNUNET_ATS_Information | 273 | const struct GNUNET_ATS_Information |
271 | *atsi); | 274 | *atsi, |
275 | unsigned int atsi_count); | ||
272 | 276 | ||
273 | 277 | ||
274 | /** | 278 | /** |