GNUnet  0.11.x
Data Fields
MutationEvent Struct Reference

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

#include </home/handbook/gnunet/src/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: