GNUnet 0.22.2
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...
 
const struct GNUNET_OS_ProjectDatapd
 Project data for this configuration object. 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 148 of file configuration.c.

Field Documentation

◆ sections

◆ loaded_files_head

struct ConfigFile* GNUNET_CONFIGURATION_Handle::loaded_files_head

◆ loaded_files_tail

struct ConfigFile* GNUNET_CONFIGURATION_Handle::loaded_files_tail

Linked list of loaded files.

Definition at line 163 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_destroy(), GNUNET_CONFIGURATION_parse(), and handle_inline().

◆ pd

◆ current_nest_level

unsigned int GNUNET_CONFIGURATION_Handle::current_nest_level

Current nesting level of file loading.

Definition at line 173 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_parse(), and handle_inline().

◆ diagnostics

bool GNUNET_CONFIGURATION_Handle::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 185 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_is_dirty(), GNUNET_CONFIGURATION_parse(), GNUNET_CONFIGURATION_remove_section(), and GNUNET_CONFIGURATION_write().

◆ load_called

bool GNUNET_CONFIGURATION_Handle::load_called

Was the configuration ever loaded via GNUNET_CONFIGURATION_load?

Definition at line 190 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 195 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 202 of file configuration.c.

Referenced by GNUNET_CONFIGURATION_deserialize(), and handle_inline().


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