Asterisk - The Open Source Telephony Project
18.5.0
|
Type information about a category-level configurable object. More...
#include <config_options.h>
Data Fields | |
const char * | category |
enum aco_category_op | category_match |
unsigned int | hidden |
struct aco_type_internal * | internal |
aco_type_item_alloc | item_alloc |
aco_type_item_find | item_find |
size_t | item_offset |
aco_type_item_pre_process | item_pre_process |
aco_type_prelink | item_prelink |
const char * | matchfield |
aco_matchvalue_func | matchfunc |
const char * | matchvalue |
const char * | name |
enum aco_type_t | type |
Type information about a category-level configurable object.
Definition at line 121 of file config_options.h.
const char* category |
A regular expression for matching categories to be allowed or denied
Definition at line 125 of file config_options.h.
Referenced by aco_info_init(), aco_process_config(), internal_aco_type_category_check(), and internal_type_init().
enum aco_category_op category_match |
Whether the following category regex is a whitelist or blacklist
Definition at line 129 of file config_options.h.
Referenced by aco_info_init(), internal_aco_type_category_check(), and internal_type_init().
unsigned int hidden |
Type is for internal purposes only and it and all options should not be visible to users
Definition at line 131 of file config_options.h.
Referenced by aco_info_init().
struct aco_type_internal* internal |
Definition at line 138 of file config_options.h.
Referenced by aco_option_find(), aco_set_defaults(), internal_aco_type_category_check(), internal_type_destroy(), internal_type_init(), and link_option_to_types().
aco_type_item_alloc item_alloc |
An allocation function for item associated with this type
Definition at line 134 of file config_options.h.
Referenced by process_category(), and sorcery_object_load().
aco_type_item_find item_find |
A callback function to find an existing item in a particular container
Definition at line 135 of file config_options.h.
Referenced by process_category().
size_t item_offset |
The offset in the config snapshot for the global config or item config container
Definition at line 130 of file config_options.h.
Referenced by aco_process_config(), and process_category().
aco_type_item_pre_process item_pre_process |
An optional callback function that is called after defaults are applied, but before config processing
Definition at line 136 of file config_options.h.
Referenced by process_category().
aco_type_prelink item_prelink |
An optional callback function that is called after config processing, but before applying changes
Definition at line 137 of file config_options.h.
Referenced by process_category().
const char* matchfield |
An option name to match for this type (i.e. a 'type'-like column)
Definition at line 126 of file config_options.h.
Referenced by aco_info_init(), and internal_aco_type_find().
aco_matchvalue_func matchfunc |
A function for determing whether the option value matches (i.e. hassip= requires ast_true())
Definition at line 128 of file config_options.h.
Referenced by internal_aco_type_find().
const char* matchvalue |
The value of the option to require for matching (i.e. 'peer' for type= in sip.conf)
Definition at line 127 of file config_options.h.
Referenced by aco_info_init(), and internal_aco_type_find().
const char* name |
The name of this type (must match XML documentation)
Definition at line 124 of file config_options.h.
Referenced by aco_info_init(), aco_process_var(), PathSegment::get_child(), link_option_to_types(), Parameter::load(), SwaggerType::load(), Property::load(), and notify_option_handler().
enum aco_type_t type |
Whether this is a global or item type
Definition at line 123 of file config_options.h.
Referenced by aco_info_init(), aco_process_config(), ast_sorcery_object_unregister(), Property::load(), and process_category().