GNUnet 0.21.1
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_TESTING_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_TESTING_System* UpdateContext::system

The system for which we are building configurations.

Definition at line 766 of file testing.c.

Referenced by GNUNET_TESTING_configuration_create(), and GNUNET_TESTING_configuration_create_().

◆ cfg

struct GNUNET_CONFIGURATION_Handle* UpdateContext::cfg

The configuration we are building.

Definition at line 771 of file testing.c.

◆ gnunet_home

char* UpdateContext::gnunet_home

The customized service home path for this peer.

Definition at line 776 of file testing.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 783 of file testing.c.

Referenced by GNUNET_TESTING_configuration_create_().

◆ nports

unsigned int UpdateContext::nports

The number of ports in the above array.

Definition at line 788 of file testing.c.

Referenced by GNUNET_TESTING_configuration_create_().

◆ status

int UpdateContext::status

build status - to signal error while building a configuration

Definition at line 793 of file testing.c.


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