GNUnet 0.21.1
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 89 of file gnunet_testing_lib.h.

Field Documentation

◆ service

const char* GNUNET_TESTING_SharedService::service

The name of the service.

Definition at line 94 of file gnunet_testing_lib.h.

Referenced by GNUNET_TESTING_system_create_with_portrange().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_TESTING_SharedService::cfg

The configuration template for the service.

Cannot be NULL

Definition at line 99 of file gnunet_testing_lib.h.

Referenced by GNUNET_TESTING_system_create_with_portrange().

◆ 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 105 of file gnunet_testing_lib.h.

Referenced by GNUNET_TESTING_system_create_with_portrange().


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