GNUnet  0.11.x
Data Fields
GNUNET_TESTING_SharedService Struct Reference

Specification of a service that is to be shared among peers. More...

#include <gnunet_testing_lib.h>

Collaboration diagram for GNUNET_TESTING_SharedService:
[legend]

Data Fields

const char * service
 The name of the service. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 The configuration template for the service. More...
 
unsigned int share
 The number of peers which share an instance of the service. More...
 

Detailed Description

Specification of a service that is to be shared among peers.

Definition at line 85 of file gnunet_testing_lib.h.

Field Documentation

◆ service

const char* GNUNET_TESTING_SharedService::service

The name of the service.

Definition at line 90 of file gnunet_testing_lib.h.

Referenced by GNUNET_TESTING_system_create_with_portrange(), handle_init(), and parse_shared_services().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_TESTING_SharedService::cfg

The configuration template for the service.

Cannot be NULL

Definition at line 95 of file gnunet_testing_lib.h.

Referenced by GNUNET_TESTING_system_create_with_portrange(), and parse_shared_services().

◆ share

unsigned int GNUNET_TESTING_SharedService::share

The number of peers which share an instance of the service.

0 for sharing among all peers

Definition at line 101 of file gnunet_testing_lib.h.

Referenced by GNUNET_TESTING_system_create_with_portrange(), and parse_shared_services().


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