GNUnet  0.11.x
Data Fields
SharedService Struct Reference

The structure for identifying a shared service. More...

#include </home/handbook/gnunet/src/testbed/gnunet-service-testbed.h>

Collaboration diagram for SharedService:
[legend]

Data Fields

char * name
 The name of the shared service. More...
 
uint32_t num_shared
 Number of shared peers per instance of the shared service. More...
 
uint32_t num_sharing
 Number of peers currently sharing the service. More...
 
char * sname
 
struct SharedServiceInstance ** instances
 
struct GNUNET_CONFIGURATION_Handlecfg
 
unsigned int n_peers
 
unsigned int share
 
unsigned int n_instances
 

Detailed Description

The structure for identifying a shared service.

Definition at line 272 of file gnunet-service-testbed.h.

Field Documentation

◆ name

char* SharedService::name

The name of the shared service.

Definition at line 277 of file gnunet-service-testbed.h.

◆ num_shared

uint32_t SharedService::num_shared

Number of shared peers per instance of the shared service.

Definition at line 282 of file gnunet-service-testbed.h.

◆ num_sharing

uint32_t SharedService::num_sharing

Number of peers currently sharing the service.

Definition at line 287 of file gnunet-service-testbed.h.

◆ sname

char* SharedService::sname

◆ instances

struct SharedServiceInstance** SharedService::instances

Definition at line 81 of file testing.c.

Referenced by associate_shared_service(), and GNUNET_TESTING_system_destroy().

◆ cfg

struct GNUNET_CONFIGURATION_Handle* SharedService::cfg

◆ n_peers

unsigned int SharedService::n_peers

Definition at line 85 of file testing.c.

Referenced by associate_shared_service().

◆ share

unsigned int SharedService::share

◆ n_instances

unsigned int SharedService::n_instances

Definition at line 89 of file testing.c.

Referenced by associate_shared_service(), and GNUNET_TESTING_system_destroy().


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