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.
sorcery_copy_handler copy
 Optional object copy callback.
sorcery_diff_handler diff
 Optional object diff callback.
struct ao2_containerfields
 Object fields.
struct aco_filefile
 Configuration framework file information.
struct aco_infoinfo
 Configuration framework general information.
char name [MAX_OBJECT_TYPE]
 Unique name of the object type.
struct ao2_containerobservers
 Observers.
unsigned int reloadable:1
 Specifies if object type is reloadable or not.
struct ast_taskprocessorserializer
 Serializer for observers.
sorcery_transform_handler transform
 Optional transformation callback.
struct aco_type type
 Type details.
struct ao2_containerwizards
 Wizard instances.

Detailed Description

Structure for registered object type.

Definition at line 105 of file sorcery.c.


Field Documentation

Optional object set apply callback.

Definition at line 113 of file sorcery.c.

Optional object copy callback.

Definition at line 116 of file sorcery.c.

Optional object diff callback.

Definition at line 119 of file sorcery.c.

struct ao2_container* fields [read]

struct aco_file* file [read]

Configuration framework file information.

Definition at line 131 of file sorcery.c.

Referenced by sorcery_object_type_alloc(), and sorcery_object_type_destructor().

struct aco_info* info [read]

Configuration framework general information.

Definition at line 128 of file sorcery.c.

Referenced by sorcery_object_type_alloc(), and sorcery_object_type_destructor().

char name[MAX_OBJECT_TYPE]

struct ao2_container* observers [read]

unsigned int reloadable

Specifies if object type is reloadable or not.

Definition at line 143 of file sorcery.c.

struct ast_taskprocessor* serializer [read]

Optional transformation callback.

Definition at line 110 of file sorcery.c.

struct aco_type type [read]

Type details.

Definition at line 134 of file sorcery.c.

Referenced by sorcery_object_load().

struct ao2_container* wizards [read]

Wizard instances.

Definition at line 122 of file sorcery.c.

Referenced by sorcery_object_load(), sorcery_object_type_alloc(), and sorcery_object_type_destructor().


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

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