GNUnet  0.11.x
Data Fields
ServiceConnectData Struct Reference

Data accessed during service connections. More...

Collaboration diagram for ServiceConnectData:
[legend]

Data Fields

GNUNET_TESTBED_ConnectAdapter ca
 helper function callback to establish the connection More...
 
GNUNET_TESTBED_DisconnectAdapter da
 helper function callback to close the connection More...
 
void * cada_cls
 Closure to the above callbacks. More...
 
char * service_name
 Service name. More...
 
void * op_cls
 Closure for operation event. More...
 
struct GNUNET_TESTBED_Operationoperation
 The operation which created this structure. More...
 
struct OperationContextopc
 The operation context from GNUNET_TESTBED_forward_operation_msg_() More...
 
struct GNUNET_TESTBED_Peerpeer
 The peer handle. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 The acquired configuration of the peer. More...
 
void * op_result
 The op_result pointer from ConnectAdapter. More...
 
GNUNET_TESTBED_ServiceConnectCompletionCallback cb
 The operation completion callback. More...
 
void * cb_cls
 The closure for operation completion callback. More...
 
enum State state
 State information. More...
 

Detailed Description

Data accessed during service connections.

Definition at line 57 of file testbed_api_services.c.

Field Documentation

◆ ca

GNUNET_TESTBED_ConnectAdapter ServiceConnectData::ca

helper function callback to establish the connection

Definition at line 62 of file testbed_api_services.c.

Referenced by configuration_receiver(), and GNUNET_TESTBED_service_connect().

◆ da

GNUNET_TESTBED_DisconnectAdapter ServiceConnectData::da

helper function callback to close the connection

Definition at line 67 of file testbed_api_services.c.

Referenced by GNUNET_TESTBED_service_connect(), and oprelease_service_connect().

◆ cada_cls

void* ServiceConnectData::cada_cls

Closure to the above callbacks.

Definition at line 72 of file testbed_api_services.c.

Referenced by configuration_receiver(), GNUNET_TESTBED_service_connect(), and oprelease_service_connect().

◆ service_name

char* ServiceConnectData::service_name

Service name.

Definition at line 77 of file testbed_api_services.c.

◆ op_cls

void* ServiceConnectData::op_cls

Closure for operation event.

Definition at line 82 of file testbed_api_services.c.

Referenced by configuration_receiver(), and GNUNET_TESTBED_service_connect().

◆ operation

struct GNUNET_TESTBED_Operation* ServiceConnectData::operation

The operation which created this structure.

Definition at line 87 of file testbed_api_services.c.

Referenced by configuration_receiver(), and GNUNET_TESTBED_service_connect().

◆ opc

struct OperationContext* ServiceConnectData::opc

The operation context from GNUNET_TESTBED_forward_operation_msg_()

Definition at line 92 of file testbed_api_services.c.

Referenced by oprelease_service_connect(), and opstart_service_connect().

◆ peer

struct GNUNET_TESTBED_Peer* ServiceConnectData::peer

The peer handle.

Definition at line 97 of file testbed_api_services.c.

Referenced by configuration_receiver(), GNUNET_TESTBED_service_connect(), and opstart_service_connect().

◆ cfg

struct GNUNET_CONFIGURATION_Handle* ServiceConnectData::cfg

The acquired configuration of the peer.

Definition at line 102 of file testbed_api_services.c.

Referenced by configuration_receiver(), and oprelease_service_connect().

◆ op_result

void* ServiceConnectData::op_result

The op_result pointer from ConnectAdapter.

Definition at line 107 of file testbed_api_services.c.

Referenced by configuration_receiver(), and oprelease_service_connect().

◆ cb

The operation completion callback.

Definition at line 112 of file testbed_api_services.c.

Referenced by configuration_receiver(), and GNUNET_TESTBED_service_connect().

◆ cb_cls

void* ServiceConnectData::cb_cls

The closure for operation completion callback.

Definition at line 117 of file testbed_api_services.c.

Referenced by configuration_receiver(), and GNUNET_TESTBED_service_connect().

◆ state

enum State ServiceConnectData::state

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