Asterisk - The Open Source Telephony Project GIT-master-a358458
Data Fields
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.

Examples
app_skel.c.

Definition at line 121 of file config_options.h.

Field Documentation

◆ category

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 internal_aco_type_find().

◆ category_match

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.

◆ hidden

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.

◆ internal

struct aco_type_internal* internal

Definition at line 138 of file config_options.h.

Referenced by link_option_to_types().

◆ item_alloc

aco_type_item_alloc item_alloc

An allocation function for item associated with this type

Examples
app_skel.c.

Definition at line 134 of file config_options.h.

◆ item_find

aco_type_item_find item_find

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

Examples
app_skel.c.

Definition at line 135 of file config_options.h.

◆ item_offset

size_t item_offset

The offset in the config snapshot for the global config or item config container

Examples
app_skel.c.

Definition at line 130 of file config_options.h.

◆ item_pre_process

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.

◆ item_prelink

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.

◆ matchfield

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.

◆ matchfunc

A function for determining whether the option value matches

Definition at line 128 of file config_options.h.

◆ matchvalue

const char* matchvalue

The value of the option to require for matching (i.e. 'peer')

Definition at line 127 of file config_options.h.

◆ name

const char* name

◆ type

enum aco_type_t type

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