GNUnet  0.11.x
Data Fields
GNUNET_SCALARPRODUCT_ComputationHandle Struct Reference

A handle returned for each computation. More...

Collaboration diagram for GNUNET_SCALARPRODUCT_ComputationHandle:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
struct GNUNET_MQ_Handlemq
 Current connection to the scalarproduct service. More...
 
GNUNET_SCALARPRODUCT_ContinuationWithStatus cont_status
 Function to call after transmission of the request (Bob). More...
 
GNUNET_SCALARPRODUCT_DatumProcessor cont_datum
 Function to call after transmission of the request (Alice). More...
 
void * cont_cls
 Closure for cont_status or cont_datum. More...
 
GNUNET_SCALARPRODUCT_ResponseMessageHandler response_proc
 API internal callback for results and failures to be forwarded to the client. More...
 
struct GNUNET_HashCode key
 The shared session key identifying this computation. More...
 

Detailed Description

A handle returned for each computation.

Definition at line 58 of file scalarproduct_api.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_SCALARPRODUCT_ComputationHandle::cfg

Our configuration.

Definition at line 63 of file scalarproduct_api.c.

Referenced by GNUNET_SCALARPRODUCT_accept_computation(), and GNUNET_SCALARPRODUCT_start_computation().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_SCALARPRODUCT_ComputationHandle::mq

Current connection to the scalarproduct service.

Definition at line 68 of file scalarproduct_api.c.

Referenced by GNUNET_SCALARPRODUCT_accept_computation(), GNUNET_SCALARPRODUCT_cancel(), and GNUNET_SCALARPRODUCT_start_computation().

◆ cont_status

GNUNET_SCALARPRODUCT_ContinuationWithStatus GNUNET_SCALARPRODUCT_ComputationHandle::cont_status

Function to call after transmission of the request (Bob).

Definition at line 73 of file scalarproduct_api.c.

Referenced by GNUNET_SCALARPRODUCT_accept_computation(), and process_status_message().

◆ cont_datum

GNUNET_SCALARPRODUCT_DatumProcessor GNUNET_SCALARPRODUCT_ComputationHandle::cont_datum

Function to call after transmission of the request (Alice).

Definition at line 78 of file scalarproduct_api.c.

Referenced by GNUNET_SCALARPRODUCT_start_computation(), and process_result_message().

◆ cont_cls

void* GNUNET_SCALARPRODUCT_ComputationHandle::cont_cls

◆ response_proc

GNUNET_SCALARPRODUCT_ResponseMessageHandler GNUNET_SCALARPRODUCT_ComputationHandle::response_proc

API internal callback for results and failures to be forwarded to the client.

Definition at line 89 of file scalarproduct_api.c.

Referenced by GNUNET_SCALARPRODUCT_accept_computation(), GNUNET_SCALARPRODUCT_start_computation(), handle_response(), and mq_error_handler().

◆ key

struct GNUNET_HashCode GNUNET_SCALARPRODUCT_ComputationHandle::key

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