aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps.h
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-09-18 13:59:37 +0200
committerJulius Bünger <buenger@mytum.de>2018-09-18 17:20:26 +0200
commitbd6822783a5daa6d03f1af13e0b4f05ba56df42a (patch)
treeefb66dd0dbae17a66783c751d3e16ef226a84363 /src/rps/rps.h
parent2db3016405377f2d600f6029616eb1b5b391b685 (diff)
downloadgnunet-bd6822783a5daa6d03f1af13e0b4f05ba56df42a.tar.gz
gnunet-bd6822783a5daa6d03f1af13e0b4f05ba56df42a.zip
Add possibility to send multiple peers to client
Diffstat (limited to 'src/rps/rps.h')
-rw-r--r--src/rps/rps.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rps/rps.h b/src/rps/rps.h
index 66b2dd962..26615bfc5 100644
--- a/src/rps/rps.h
+++ b/src/rps/rps.h
@@ -250,11 +250,13 @@ struct GNUNET_RPS_CS_DEBUG_StreamReply
250 uint32_t id GNUNET_PACKED; 250 uint32_t id GNUNET_PACKED;
251 251
252 /** 252 /**
253 * @brief The peer of the biased stream 253 * Number of peers
254 */ 254 */
255 struct GNUNET_PeerIdentity peer; 255 uint64_t num_peers GNUNET_PACKED;
256 256
257 // TODO maybe source of peer (pull/push list, peerinfo, ...) 257 // TODO maybe source of peer (pull/push list, peerinfo, ...)
258
259 /* Followed by num_peers * GNUNET_PeerIdentity */
258}; 260};
259 261
260GNUNET_NETWORK_STRUCT_END 262GNUNET_NETWORK_STRUCT_END