GNUnet  0.11.x
Data Fields
GNUNET_CONFIGURATION_Handle Struct Reference

configuration data More...

Collaboration diagram for GNUNET_CONFIGURATION_Handle:
[legend]

Data Fields

struct ConfigSectionsections
 Configuration sections. More...
 
struct ConfigFileloaded_files_head
 Linked list of loaded files. More...
 
struct ConfigFileloaded_files_tail
 Linked list of loaded files. More...
 
unsigned int current_nest_level
 Current nesting level of file loading. More...
 
bool diagnostics
 Enable diagnostics. More...
 
enum GNUNET_GenericReturnValue dirty
 Modification indication since last save GNUNET_NO if clean, GNUNET_YES if dirty, GNUNET_SYSERR on error (i.e. More...
 
bool load_called
 Was the configuration ever loaded via GNUNET_CONFIGURATION_load? More...
 
char * main_filename
 Name of the entry point configuration file. More...
 
const char * restrict_section
 When parsing into this configuration, and this value is non-NULL, only parse sections of the same name, and ban import statements. More...
 

Detailed Description

configuration data

Definition at line 152 of file configuration.c.

Field Documentation

◆ sections

struct ConfigSection* GNUNET_CONFIGURATION_Handle::sections

◆ loaded_files_head

struct ConfigFile* GNUNET_CONFIGURATION_Handle::loaded_files_head

Linked list of loaded files.

Definition at line 162 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_destroy(), and GNUNET_CONFIGURATION_serialize_diagnostics().

◆ loaded_files_tail

struct ConfigFile* GNUNET_CONFIGURATION_Handle::loaded_files_tail

Linked list of loaded files.

Definition at line 167 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_destroy().

◆ current_nest_level

unsigned int GNUNET_CONFIGURATION_Handle::current_nest_level

Current nesting level of file loading.

Definition at line 172 of file configuration.c.

◆ diagnostics

bool GNUNET_CONFIGURATION_Handle::diagnostics

Enable diagnostics.

Definition at line 177 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_deserialize(), and GNUNET_CONFIGURATION_enable_diagnostics().

◆ dirty

enum GNUNET_GenericReturnValue GNUNET_CONFIGURATION_Handle::dirty

Modification indication since last save GNUNET_NO if clean, GNUNET_YES if dirty, GNUNET_SYSERR on error (i.e.

last save failed)

Definition at line 177 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_remove_section().

◆ load_called

bool GNUNET_CONFIGURATION_Handle::load_called

Was the configuration ever loaded via GNUNET_CONFIGURATION_load?

Definition at line 189 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_load().

◆ main_filename

char* GNUNET_CONFIGURATION_Handle::main_filename

Name of the entry point configuration file.

Definition at line 194 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_destroy(), GNUNET_CONFIGURATION_load(), and GNUNET_CONFIGURATION_serialize_diagnostics().

◆ restrict_section

const char* GNUNET_CONFIGURATION_Handle::restrict_section

When parsing into this configuration, and this value is non-NULL, only parse sections of the same name, and ban import statements.

Definition at line 201 of file configuration.c.


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