diff options
author | Julius Bünger <buenger@mytum.de> | 2018-09-18 13:59:37 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-09-18 17:20:26 +0200 |
commit | bd6822783a5daa6d03f1af13e0b4f05ba56df42a (patch) | |
tree | efb66dd0dbae17a66783c751d3e16ef226a84363 /src/rps/rps.h | |
parent | 2db3016405377f2d600f6029616eb1b5b391b685 (diff) | |
download | gnunet-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.h | 6 |
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 | ||
260 | GNUNET_NETWORK_STRUCT_END | 262 | GNUNET_NETWORK_STRUCT_END |