GNUnet  0.11.x
Public Types | Data Fields
TopologyContext Struct Reference

Context information for topology operations. More...

Collaboration diagram for TopologyContext:
[legend]

Public Types

enum  { TOPOLOGYCONTEXT_TYPE_UNDERLAY = 0, TOPOLOGYCONTEXT_TYPE_OVERLAY }
 The type of this context. More...
 

Data Fields

enum TopologyContext:: { ... }  type
 The type of this context. More...
 
union {
   struct TopologyContextOverlay   overlay
 Topology context information for overlay topology. More...
 
   struct TopologyContextUnderlay   underlay
 Topology context information for underlay topology. More...
 
u
 
unsigned int num_peers
 The number of peers. More...
 
unsigned int link_array_size
 The size of the link array. More...
 

Detailed Description

Context information for topology operations.

Definition at line 212 of file testbed_api_topology.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The type of this context.

Enumerator
TOPOLOGYCONTEXT_TYPE_UNDERLAY 

Type for underlay topology.

TOPOLOGYCONTEXT_TYPE_OVERLAY 

Type for overlay topology.

Definition at line 217 of file testbed_api_topology.c.

218  {
223 
228  } type;
enum TopologyContext::@70 type
The type of this context.

Field Documentation

◆ type

enum { ... } TopologyContext::type

◆ overlay

struct TopologyContextOverlay TopologyContext::overlay

◆ underlay

struct TopologyContextUnderlay TopologyContext::underlay

◆ u

union { ... } TopologyContext::u

◆ num_peers

unsigned int TopologyContext::num_peers

◆ link_array_size

unsigned int TopologyContext::link_array_size

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