GNUnet  0.11.x
Data Fields
ServiceContext Struct Reference

Structure for holding service data. More...

Collaboration diagram for ServiceContext:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 The configuration of the peer in which the service is run. More...
 
GNUNET_TESTING_TestMain tm
 Callback to signal service startup. More...
 
struct GNUNET_TESTING_Peerpeer
 The peer in which the service is run. More...
 
void * tm_cls
 Closure for the above callback. More...
 

Detailed Description

Structure for holding service data.

Definition at line 1602 of file testing.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* ServiceContext::cfg

The configuration of the peer in which the service is run.

Definition at line 1607 of file testing.c.

Referenced by GNUNET_TESTING_service_run(), and service_run_main().

◆ tm

GNUNET_TESTING_TestMain ServiceContext::tm

Callback to signal service startup.

Definition at line 1612 of file testing.c.

Referenced by GNUNET_TESTING_service_run(), and service_run_main().

◆ peer

struct GNUNET_TESTING_Peer* ServiceContext::peer

The peer in which the service is run.

Definition at line 1617 of file testing.c.

Referenced by GNUNET_TESTING_service_run(), and service_run_main().

◆ tm_cls

void* ServiceContext::tm_cls

Closure for the above callback.

Definition at line 1622 of file testing.c.

Referenced by GNUNET_TESTING_service_run(), and service_run_main().


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