aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-31 15:35:00 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-31 15:35:00 +0000
commitdfe8a19d9d0aebc8711992a99628732dbe674621 (patch)
tree12f188f126d79ac73f8d46f112b53e34c7e5e677 /src/fs/gnunet-service-fs_cp.h
parentb6f0365dd1cf3fbd6af64500cf9547583989e68b (diff)
downloadgnunet-dfe8a19d9d0aebc8711992a99628732dbe674621.tar.gz
gnunet-dfe8a19d9d0aebc8711992a99628732dbe674621.zip
fix migration support
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.h')
-rw-r--r--src/fs/gnunet-service-fs_cp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/fs/gnunet-service-fs_cp.h
index 7b8cf40ab..2925dd8ae 100644
--- a/src/fs/gnunet-service-fs_cp.h
+++ b/src/fs/gnunet-service-fs_cp.h
@@ -110,6 +110,10 @@ struct GSF_PeerPerformanceData
110 */ 110 */
111 unsigned int pending_replies; 111 unsigned int pending_replies;
112 112
113 /**
114 * How many of the last blocks from migration were duplicates?
115 */
116 unsigned int migration_duplication;
113}; 117};
114 118
115 119
@@ -175,6 +179,7 @@ GSF_peer_connect_handler_ (const struct GNUNET_PeerIdentity *peer,
175 * Get a handle for a connected peer. 179 * Get a handle for a connected peer.
176 * 180 *
177 * @param peer peer's identity 181 * @param peer peer's identity
182 * @return NULL if this peer is not currently connected
178 */ 183 */
179struct GSF_ConnectedPeer * 184struct GSF_ConnectedPeer *
180GSF_peer_get_ (const struct GNUNET_PeerIdentity *peer); 185GSF_peer_get_ (const struct GNUNET_PeerIdentity *peer);