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

Structure for registered object type. More...

Collaboration diagram for ast_sorcery_object_type:
Collaboration graph
[legend]

Data Fields

sorcery_apply_handler apply
 Optional object set apply callback. More...
 
sorcery_copy_handler copy
 Optional object copy callback. More...
 
sorcery_diff_handler diff
 Optional object diff callback. More...
 
struct ao2_containerfields
 Object fields. More...
 
struct aco_filefile
 Configuration framework file information. More...
 
struct aco_infoinfo
 Configuration framework general information. More...
 
char name [MAX_OBJECT_TYPE]
 Unique name of the object type. More...
 
struct ao2_containerobservers
 Observers. More...
 
unsigned int reloadable:1
 Specifies if object type is reloadable or not. More...
 
struct ast_taskprocessorserializer
 Serializer for observers. More...
 
sorcery_transform_handler transform
 Optional transformation callback. More...
 
struct aco_type type
 Type details. More...
 
struct ast_sorcery_object_wizards wizards
 Wizard instances. More...
 

Detailed Description

Structure for registered object type.

Definition at line 148 of file sorcery.c.

Field Documentation

◆ apply

Optional object set apply callback.

Definition at line 156 of file sorcery.c.

Referenced by __ast_sorcery_object_register().

◆ copy

Optional object copy callback.

Definition at line 159 of file sorcery.c.

◆ diff

Optional object diff callback.

Definition at line 162 of file sorcery.c.

Referenced by ast_sorcery_object_set_diff_handler().

◆ fields

struct ao2_container* fields

◆ file

struct aco_file* file

Configuration framework file information.

Definition at line 174 of file sorcery.c.

Referenced by sorcery_object_type_alloc(), and sorcery_object_type_destructor().

◆ info

struct aco_info* info

Configuration framework general information.

Definition at line 171 of file sorcery.c.

Referenced by sorcery_object_type_alloc(), and sorcery_object_type_destructor().

◆ name

char name[MAX_OBJECT_TYPE]

◆ observers

struct ao2_container* observers

◆ reloadable

unsigned int reloadable

Specifies if object type is reloadable or not.

Definition at line 186 of file sorcery.c.

Referenced by __ast_sorcery_object_register().

◆ serializer

◆ transform

Optional transformation callback.

Definition at line 153 of file sorcery.c.

Referenced by __ast_sorcery_object_register().

◆ type

struct aco_type type

Type details.

Definition at line 177 of file sorcery.c.

Referenced by ast_sorcery_object_unregister(), Property::load(), and sorcery_object_load().

◆ wizards

struct ast_sorcery_object_wizards wizards

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