GNUnet debian-0.24.3-28-g4f2a77692
 
Loading...
Searching...
No Matches
GNUNET_CONFIGURATION_Handle Struct Reference

configuration data More...

Collaboration diagram for GNUNET_CONFIGURATION_Handle:
[legend]

Data Fields

struct ConfigSectionsections
 Configuration sections.
 
struct ConfigFileloaded_files_head
 Linked list of loaded files.
 
struct ConfigFileloaded_files_tail
 Linked list of loaded files.
 
const struct GNUNET_OS_ProjectDatapd
 Project data for this configuration object.
 
unsigned int current_nest_level
 Current nesting level of file loading.
 
bool diagnostics
 Enable diagnostics.
 
enum GNUNET_GenericReturnValue dirty
 Modification indication since last save GNUNET_NO if clean, GNUNET_YES if dirty, GNUNET_SYSERR on error (i.e.
 
bool load_called
 Was the configuration ever loaded via GNUNET_CONFIGURATION_load?
 
char * main_filename
 Name of the entry point configuration file.
 
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.
 

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: