GNUnet 0.21.1
MutationEvent Struct Reference

MutationEvent gives information about changes to an element (removal / addition) in a set content. More...

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

Data Fields

unsigned int generation
 First generation affected by this mutation event. More...
 
int added
 If added is GNUNET_YES, then this is a remove event, otherwise it is an add event. More...
 

Detailed Description

MutationEvent gives information about changes to an element (removal / addition) in a set content.

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

Field Documentation

◆ generation

unsigned int MutationEvent::generation

First generation affected by this mutation event.

If generation is 0, this mutation event is a list sentinel element.

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

Referenced by execute_add(), execute_remove(), and is_element_of_generation().

◆ added

int MutationEvent::added

If added is GNUNET_YES, then this is a remove event, otherwise it is an add event.

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

Referenced by is_element_of_generation().


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