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

Structure for registered object field. More...

Collaboration diagram for ast_sorcery_object_field:
Collaboration graph
[legend]

Data Fields

intptr_t args []
 Position of the field. More...
 
sorcery_field_handler handler
 Callback function for translation of a single value. More...
 
sorcery_fields_handler multiple_handler
 Callback function for translation of multiple values. More...
 
char name [MAX_OBJECT_FIELD]
 Name of the field. More...
 
regex_t * name_regex
 The compiled name regex if name is a regex. More...
 

Detailed Description

Structure for registered object field.

Definition at line 205 of file sorcery.c.

Field Documentation

◆ args

intptr_t args[]

Position of the field.

Definition at line 219 of file sorcery.c.

Referenced by get_single_field_as_var_list().

◆ handler

Callback function for translation of a single value.

Definition at line 213 of file sorcery.c.

Referenced by get_single_field_as_var_list().

◆ multiple_handler

sorcery_fields_handler multiple_handler

Callback function for translation of multiple values.

Definition at line 216 of file sorcery.c.

Referenced by __ast_sorcery_object_field_register(), and get_multiple_fields_as_var_list().

◆ name

char name[MAX_OBJECT_FIELD]

◆ name_regex

regex_t* name_regex

The compiled name regex if name is a regex.

Definition at line 210 of file sorcery.c.

Referenced by is_registered_cb(), and sorcery_object_field_destructor().


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