GNUnet 0.22.1
SetVT Struct Reference

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

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/contrib/service/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(), _GSS_union_vt(), and handle_client_create_set().

◆ add

SetAddRemoveImpl SetVT::add

Callback for element insertion.

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

Referenced by execute_add().

◆ remove

SetAddRemoveImpl SetVT::remove

Callback for element removal.

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

Referenced by execute_remove().

◆ 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.

Referenced by handle_client_copy_lazy_connect().

◆ destroy_set

SetDestroyImpl SetVT::destroy_set

Callback for destruction of the set state.

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

Referenced by client_disconnect_cb().

◆ accept

OpAcceptImpl SetVT::accept

Callback for accepting a set operation request.

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

Referenced by handle_client_accept().

◆ evaluate

OpEvaluateImpl SetVT::evaluate

Callback for starting evaluation with a remote peer.

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

Referenced by handle_client_evaluate().

◆ cancel

OpCancelImpl SetVT::cancel

Callback for canceling an operation.

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

Referenced by _GSS_operation_destroy().

◆ channel_death

OpChannelDeathImpl SetVT::channel_death

Callback called in case the CADET channel died.

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


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