GNUnet  0.11.x
Data Fields
GetRandPeerIteratorCls Struct Reference

The closure to get_rand_peer_iterator. More...

Collaboration diagram for GetRandPeerIteratorCls:
[legend]

Data Fields

uint32_t index
 The index of the peer to return. More...
 
const struct GNUNET_PeerIdentitypeer
 Pointer to peer to return. More...
 

Detailed Description

The closure to get_rand_peer_iterator.

Definition at line 743 of file gnunet-service-rps.c.

Field Documentation

◆ index

uint32_t GetRandPeerIteratorCls::index

The index of the peer to return.

Will be decreased until 0. Then current peer is returned.

Definition at line 750 of file gnunet-service-rps.c.

Referenced by get_rand_peer_iterator(), and get_random_peer_from_peermap().

◆ peer

const struct GNUNET_PeerIdentity* GetRandPeerIteratorCls::peer

Pointer to peer to return.

Definition at line 755 of file gnunet-service-rps.c.

Referenced by get_rand_peer_iterator(), and get_random_peer_from_peermap().


The documentation for this struct was generated from the following file: