GNUnet 0.22.2
GNUNET_CONTAINER_MultiPeerMapIterator Struct Reference

Cursor into a multipeermap. More...

Collaboration diagram for GNUNET_CONTAINER_MultiPeerMapIterator:
[legend]

Data Fields

union MapEntry me
 Position in the bucket 'idx'. More...
 
unsigned int idx
 Current bucket index. More...
 
unsigned int modification_counter
 Modification counter as observed on the map when the iterator was created. More...
 
const struct GNUNET_CONTAINER_MultiPeerMapmap
 Map that we are iterating over. More...
 

Detailed Description

Cursor into a multipeermap.

Allows to enumerate elements asynchronously.

Definition at line 153 of file container_multipeermap.c.

Field Documentation

◆ me

union MapEntry GNUNET_CONTAINER_MultiPeerMapIterator::me

Position in the bucket 'idx'.

Definition at line 158 of file container_multipeermap.c.

Referenced by GNUNET_CONTAINER_multipeermap_iterator_create(), and GNUNET_CONTAINER_multipeermap_iterator_next().

◆ idx

unsigned int GNUNET_CONTAINER_MultiPeerMapIterator::idx

Current bucket index.

Definition at line 163 of file container_multipeermap.c.

Referenced by GNUNET_CONTAINER_multipeermap_iterator_next().

◆ modification_counter

unsigned int GNUNET_CONTAINER_MultiPeerMapIterator::modification_counter

Modification counter as observed on the map when the iterator was created.

Definition at line 169 of file container_multipeermap.c.

Referenced by GNUNET_CONTAINER_multipeermap_iterator_create(), and GNUNET_CONTAINER_multipeermap_iterator_next().

◆ map

const struct GNUNET_CONTAINER_MultiPeerMap* GNUNET_CONTAINER_MultiPeerMapIterator::map

Map that we are iterating over.

Definition at line 174 of file container_multipeermap.c.

Referenced by GNUNET_CONTAINER_multipeermap_iterator_create(), and GNUNET_CONTAINER_multipeermap_iterator_next().


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