GNUnet 0.21.1
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 748 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 755 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 760 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: