GNUnet 0.21.2
UpdateContext Struct Reference

Closure for iterator for updating. More...

Collaboration diagram for UpdateContext:
[legend]

Data Fields

uint32_t size
 Number of bytes in 'data'. More...
 
const void * data
 Pointer to the data. More...
 
uint32_t priority
 Priority of the value. More...
 
uint32_t replication
 Replication level for the value. More...
 
struct GNUNET_TIME_Absolute expiration
 Expiration time for this value. More...
 
bool updated
 True if the value was found and updated. More...
 
struct GNUNET_TESTBED_Systemsystem
 The system for which we are building configurations. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 The configuration we are building. More...
 
char * gnunet_home
 The customized service home path for this peer. More...
 
uint16_t * ports
 Array of ports currently allocated to this peer. More...
 
unsigned int nports
 The number of ports in the above array. More...
 
int status
 build status - to signal error while building a configuration More...
 

Detailed Description

Closure for iterator for updating.

Structure for holding data to build new configurations from a configuration template.

Definition at line 196 of file plugin_datastore_heap.c.

Field Documentation

◆ size

uint32_t UpdateContext::size

Number of bytes in 'data'.

Definition at line 201 of file plugin_datastore_heap.c.

◆ data

const void* UpdateContext::data

◆ priority

uint32_t UpdateContext::priority

Priority of the value.

Definition at line 211 of file plugin_datastore_heap.c.

Referenced by heap_plugin_put().

◆ replication

uint32_t UpdateContext::replication

Replication level for the value.

Definition at line 216 of file plugin_datastore_heap.c.

◆ expiration

struct GNUNET_TIME_Absolute UpdateContext::expiration

Expiration time for this value.

Definition at line 221 of file plugin_datastore_heap.c.

◆ updated

bool UpdateContext::updated

True if the value was found and updated.

Definition at line 226 of file plugin_datastore_heap.c.

◆ system

struct GNUNET_TESTBED_System* UpdateContext::system

The system for which we are building configurations.

Definition at line 281 of file testbed.c.

Referenced by GNUNET_TESTBED_configuration_create().

◆ cfg

struct GNUNET_CONFIGURATION_Handle* UpdateContext::cfg

The configuration we are building.

Definition at line 286 of file testbed.c.

◆ gnunet_home

char* UpdateContext::gnunet_home

The customized service home path for this peer.

Definition at line 291 of file testbed.c.

◆ ports

uint16_t* UpdateContext::ports

Array of ports currently allocated to this peer.

These ports will be released upon peer destroy and can be used by other peers which are configured after.

Definition at line 298 of file testbed.c.

Referenced by GNUNET_TESTBED_configuration_create().

◆ nports

unsigned int UpdateContext::nports

The number of ports in the above array.

Definition at line 303 of file testbed.c.

Referenced by GNUNET_TESTBED_configuration_create().

◆ status

int UpdateContext::status

build status - to signal error while building a configuration

Definition at line 308 of file testbed.c.


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