Asterisk - The Open Source Telephony Project GIT-master-0bf3178
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.

◆ configuration_invalid

unsigned int configuration_invalid

Configuration is invalid in some way, force reload.

Definition at line 66 of file res_sorcery_config.c.

◆ 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.

◆ 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.

◆ family

char family[]

Definition at line 50 of file res_sorcery_realtime.c.

Referenced by sorcery_realtime_open().

◆ fetch

enum unqualified_fetch fetch

Definition at line 49 of file res_sorcery_realtime.c.

◆ file_integrity

unsigned int file_integrity

Enable file level integrity instead of object level.

Definition at line 60 of file res_sorcery_config.c.

◆ filename

char filename[]

Filename of the configuration file.

Definition at line 72 of file res_sorcery_config.c.

Referenced by 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.

◆ objects

struct ao2_global_obj objects

Objects retrieved from the configuration file.

Definition at line 48 of file res_sorcery_config.c.

Referenced by sorcery_config_retrieve_fields(), and sorcery_config_retrieve_id().

◆ 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.

◆ 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.


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