GNUnet  0.11.x
Data Fields
SetVT Struct Reference

Dispatch table for a specific set operation. More...

#include </home/handbook/gnunet/src/set/gnunet-service-set.h>

Collaboration diagram for SetVT:
[legend]

Data Fields

SetCreateImpl create
 Callback for the set creation. More...
 
SetAddRemoveImpl add
 Callback for element insertion. More...
 
SetAddRemoveImpl remove
 Callback for element removal. More...
 
SetCopyStateImpl copy_state
 Callback for making a copy of a set's internal state. More...
 
SetDestroyImpl destroy_set
 Callback for destruction of the set state. More...
 
OpAcceptImpl accept
 Callback for accepting a set operation request. More...
 
OpEvaluateImpl evaluate
 Callback for starting evaluation with a remote peer. More...
 
OpCancelImpl cancel
 Callback for canceling an operation. More...
 
OpChannelDeathImpl channel_death
 Callback called in case the CADET channel died. More...
 

Detailed Description

Dispatch table for a specific set operation.

Every set operation has to implement the callback in this struct.

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

Field Documentation

◆ create

SetCreateImpl SetVT::create

Callback for the set creation.

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

Referenced by _GSS_intersection_vt(), and _GSS_union_vt().

◆ add

SetAddRemoveImpl SetVT::add

Callback for element insertion.

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

◆ remove

SetAddRemoveImpl SetVT::remove

Callback for element removal.

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

◆ copy_state

SetCopyStateImpl SetVT::copy_state

Callback for making a copy of a set's internal state.

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

◆ destroy_set

SetDestroyImpl SetVT::destroy_set

Callback for destruction of the set state.

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

◆ accept

OpAcceptImpl SetVT::accept

Callback for accepting a set operation request.

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

◆ evaluate

OpEvaluateImpl SetVT::evaluate

Callback for starting evaluation with a remote peer.

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

◆ cancel

OpCancelImpl SetVT::cancel

Callback for canceling an operation.

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

◆ channel_death

OpChannelDeathImpl SetVT::channel_death

Callback called in case the CADET channel died.

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

Referenced by _GSS_operation_destroy2().


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