GNUnet  0.11.x
Data Fields
SetContent Struct Reference

SetContent stores the actual set elements, which may be shared by multiple generations derived from one set. More...

#include </home/buildbot/bb-worker/worker/gnunet/build/src/set/gnunet-service-set.h>

Collaboration diagram for SetContent:
[legend]

Data Fields

struct GNUNET_CONTAINER_MultiHashMapelements
 Maps struct GNUNET_HashCode * to struct ElementEntry *. More...
 
struct PendingMutationpending_mutations_head
 Mutations requested by the client that we're unable to execute right now because we're iterating over the underlying hash map of elements. More...
 
struct PendingMutationpending_mutations_tail
 Mutations requested by the client that we're unable to execute right now because we're iterating over the underlying hash map of elements. More...
 
unsigned int refcount
 Number of references to the content. More...
 
unsigned int latest_generation
 FIXME: document! More...
 
int iterator_count
 Number of concurrently active iterators. More...
 
struct GNUNET_CONTAINER_MultiHashMapelements_randomized
 Maps struct GNUNET_HashCode * to struct ElementEntry * randomized. More...
 
uint64_t elements_randomized_salt
 Salt to construct the randomized element map. More...
 

Detailed Description

SetContent stores the actual set elements, which may be shared by multiple generations derived from one set.

Definition at line 433 of file gnunet-service-set.h.

Field Documentation

◆ elements

struct GNUNET_CONTAINER_MultiHashMap * SetContent::elements

◆ pending_mutations_head

struct PendingMutation* SetContent::pending_mutations_head

Mutations requested by the client that we're unable to execute right now because we're iterating over the underlying hash map of elements.

Definition at line 445 of file gnunet-service-set.h.

Referenced by client_disconnect_cb(), execute_delayed_mutations(), and handle_client_mutation().

◆ pending_mutations_tail

struct PendingMutation* SetContent::pending_mutations_tail

Mutations requested by the client that we're unable to execute right now because we're iterating over the underlying hash map of elements.

Definition at line 452 of file gnunet-service-set.h.

Referenced by client_disconnect_cb(), execute_delayed_mutations(), and handle_client_mutation().

◆ refcount

unsigned int SetContent::refcount

Number of references to the content.

Definition at line 457 of file gnunet-service-set.h.

Referenced by client_disconnect_cb(), handle_client_copy_lazy_connect(), and handle_client_create_set().

◆ latest_generation

unsigned int SetContent::latest_generation

FIXME: document!

Definition at line 462 of file gnunet-service-set.h.

Referenced by advance_generation().

◆ iterator_count

int SetContent::iterator_count

Number of concurrently active iterators.

Definition at line 467 of file gnunet-service-set.h.

Referenced by execute_delayed_mutations(), handle_client_iterate(), handle_client_mutation(), and send_client_element().

◆ elements_randomized

struct GNUNET_CONTAINER_MultiHashMap* SetContent::elements_randomized

Maps struct GNUNET_HashCode * to struct ElementEntry * randomized.

Definition at line 549 of file gnunet-service-setu.c.

◆ elements_randomized_salt

uint64_t SetContent::elements_randomized_salt

Salt to construct the randomized element map.

Definition at line 554 of file gnunet-service-setu.c.


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