aco_type Struct Reference

Type information about a category-level configurable object. More...

#include <config_options.h>

Collaboration diagram for aco_type:

Collaboration graph
[legend]

Data Fields

const char * category
enum aco_category_op category_match
unsigned int hidden
struct aco_type_internalinternal
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

Detailed Description

Type information about a category-level configurable object.

Definition at line 109 of file config_options.h.


Field Documentation

const char* category

A regular expression for matching categories to be allowed or denied

Definition at line 113 of file config_options.h.

Referenced by aco_info_init(), aco_process_config(), and internal_type_init().

Whether the following category regex is a whitelist or blacklist

Definition at line 117 of file config_options.h.

Referenced by aco_info_init(), and internal_aco_type_find().

unsigned int hidden

Type is for internal purposes only and it and all options should not be visible to users

Definition at line 119 of file config_options.h.

Referenced by aco_info_init().

struct aco_type_internal* internal [read]

An allocation function for item associated with this type

Definition at line 122 of file config_options.h.

Referenced by process_category(), and sorcery_object_load().

A callback function to find an existing item in a particular container

Definition at line 123 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 118 of file config_options.h.

Referenced by aco_process_config(), and process_category().

An optional callback function that is called after defaults are applied, but before config processing

Definition at line 124 of file config_options.h.

Referenced by process_category().

An optional callback function that is called after config processing, but before applying changes

Definition at line 125 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 114 of file config_options.h.

Referenced by aco_info_init(), and internal_aco_type_find().

A function for determing whether the option value matches (i.e. hassip= requires ast_true())

Definition at line 116 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 115 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 112 of file config_options.h.

Referenced by aco_info_init(), link_option_to_types(), and notify_option_handler().

Whether this is a global or item type

Definition at line 111 of file config_options.h.

Referenced by aco_process_config(), and process_category().


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

Generated on Thu Apr 16 06:34:47 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6