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_release/build/src/contrib/service/set/gnunet-service-set.h>
Data Fields | |
| struct GNUNET_CONTAINER_MultiHashMap * | elements |
Maps struct GNUNET_HashCode * to struct ElementEntry *. | |
| struct PendingMutation * | 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. | |
| struct PendingMutation * | 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. | |
| unsigned int | refcount |
| Number of references to the content. | |
| unsigned int | latest_generation |
| FIXME: document! | |
| int | iterator_count |
| Number of concurrently active iterators. | |
| struct GNUNET_CONTAINER_MultiHashMap * | elements_randomized |
Maps struct GNUNET_HashCode * to struct ElementEntry * randomized. | |
| uint64_t | elements_randomized_salt |
| Salt to construct the randomized element map. | |
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.
| struct GNUNET_CONTAINER_MultiHashMap * SetContent::elements |
Maps struct GNUNET_HashCode * to struct ElementEntry *.
Definition at line 438 of file gnunet-service-set.h.
Referenced by client_disconnect_cb(), client_disconnect_cb(), client_disconnect_cb(), collect_generation_garbage(), execute_add(), execute_remove(), handle_client_create_set(), handle_client_create_set(), handle_client_create_set(), handle_client_iterate(), handle_client_set_add(), and handle_client_set_add().
| 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().
| 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().
| 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(), client_disconnect_cb(), client_disconnect_cb(), handle_client_copy_lazy_connect(), handle_client_create_set(), handle_client_create_set(), and handle_client_create_set().
| unsigned int SetContent::latest_generation |
FIXME: document!
Definition at line 462 of file gnunet-service-set.h.
Referenced by advance_generation(), advance_generation(), and advance_generation().
| 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().
| struct GNUNET_CONTAINER_MultiHashMap* SetContent::elements_randomized |
Maps struct GNUNET_HashCode * to struct ElementEntry * randomized.
Definition at line 548 of file gnunet-service-setu.c.
| uint64_t SetContent::elements_randomized_salt |
Salt to construct the randomized element map.
Definition at line 553 of file gnunet-service-setu.c.