Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
sorcery_config Struct Reference

Structure for storing configuration file sourced objects. More...

Collaboration diagram for sorcery_config:
Collaboration graph
[legend]

Data Fields

unsigned int buckets
 Number of buckets to use for objects. More...
 
unsigned int configuration_invalid:1
 Configuration is invalid in some way, force reload. More...
 
struct ast_variablecriteria
 Any specific variable criteria for considering a defined category for this object. More...
 
char * explicit_name
 An explicit name for the configuration section, with it there can be only one. More...
 
char family []
 
enum unqualified_fetch fetch
 
unsigned int file_integrity:1
 Enable file level integrity instead of object level. More...
 
char filename []
 Filename of the configuration file. More...
 
unsigned int has_dynamic_contents:1
 Configuration contains at least one object with dynamic contents. More...
 
struct ao2_global_obj objects
 Objects retrieved from the configuration file. More...
 
unsigned int single_object:1
 Enable enforcement of a single configuration object of this type. More...
 
char uuid [AST_UUID_STR_LEN]
 UUID for identifying us when opening a configuration file. More...
 

Detailed Description

Structure for storing configuration file sourced objects.

Definition at line 43 of file res_sorcery_config.c.

Field Documentation

◆ buckets

unsigned int buckets

Number of buckets to use for objects.

Definition at line 57 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load(), and sorcery_config_open().

◆ configuration_invalid

unsigned int configuration_invalid

Configuration is invalid in some way, force reload.

Definition at line 66 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load().

◆ criteria

struct ast_variable* criteria

Any specific variable criteria for considering a defined category for this object.

Definition at line 51 of file res_sorcery_config.c.

Referenced by sorcery_config_destructor(), sorcery_config_open(), sorcery_is_configuration_met(), and sorcery_is_criteria_met().

◆ explicit_name

char* explicit_name

An explicit name for the configuration section, with it there can be only one.

Definition at line 54 of file res_sorcery_config.c.

Referenced by sorcery_config_destructor(), sorcery_config_open(), sorcery_is_configuration_met(), and sorcery_is_explicit_name_met().

◆ family

char family[]

◆ fetch

enum unqualified_fetch fetch

◆ file_integrity

unsigned int file_integrity

Enable file level integrity instead of object level.

Definition at line 60 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load(), and sorcery_config_open().

◆ filename

char filename[]

Filename of the configuration file.

Definition at line 72 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load(), and sorcery_config_open().

◆ has_dynamic_contents

unsigned int has_dynamic_contents

Configuration contains at least one object with dynamic contents.

Definition at line 69 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load().

◆ objects

struct ao2_global_obj objects

◆ single_object

unsigned int single_object

Enable enforcement of a single configuration object of this type.

Definition at line 63 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load(), and sorcery_config_open().

◆ uuid

char uuid[AST_UUID_STR_LEN]

UUID for identifying us when opening a configuration file.

Definition at line 45 of file res_sorcery_config.c.

Referenced by sorcery_config_internal_load(), and sorcery_config_open().


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