Mon Jun 27 16:51:23 2011

Asterisk developer's documentation


ast_data Struct Reference

The data tree to be returned by the callbacks and managed by functions local to this file. More...


Data Fields

ao2_containerchildren
 The list of nodes inside this node.
data_filterfilter
 The filter node that depends on the current node, this is used only when creating the result tree.
char name [0]
 The name of the node.
union {
   unsigned int   boolean
   char   character
   double   dbl
   in_addr   ipaddr
   void *   ptr
   int32_t   sint
   char *   str
   uint32_t   uint
payload
 The node content.
enum ast_data_type type


Detailed Description

The data tree to be returned by the callbacks and managed by functions local to this file.

Definition at line 81 of file data.c.


Field Documentation

unsigned int boolean

Definition at line 89 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_manager_output(), and data_result_print_cli_node().

char character

Definition at line 91 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_manager_output(), and data_result_print_cli_node().

struct ao2_container* children

The list of nodes inside this node.

Definition at line 101 of file data.c.

Referenced by __ast_data_add(), __data_result_print_cli(), ast_data_iterator_init(), ast_data_remove_node(), ast_data_search_match(), data_get_xml_add_child(), data_result_add_child(), data_result_destructor(), data_result_find_child(), data_result_manager_output(), and manager_data_get().

double dbl

Definition at line 88 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_manager_output(), and data_result_print_cli_node().

struct data_filter* filter

The filter node that depends on the current node, this is used only when creating the result tree.

Definition at line 98 of file data.c.

Referenced by __ast_data_add(), and data_result_generate_node().

struct in_addr ipaddr

Definition at line 92 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_manager_output(), and data_result_print_cli_node().

char name[0]

The name of the node.

Definition at line 103 of file data.c.

Referenced by ast_data_get_xml(), ast_data_iterator_next(), ast_data_retrieve_name(), ast_data_search_match(), data_get_xml_add_child(), data_result_cmp(), data_result_hash(), data_result_manager_output(), data_result_print_cli(), data_result_print_cli_node(), and manager_data_get().

union { ... } payload

The node content.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_destructor(), data_result_manager_output(), and data_result_print_cli_node().

void* ptr

Definition at line 93 of file data.c.

Referenced by __ast_data_add(), ast_data_iterator_init(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), and data_result_print_cli_node().

int32_t sint

Definition at line 86 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_manager_output(), and data_result_print_cli_node().

char* str

Definition at line 90 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_destructor(), data_result_manager_output(), and data_result_print_cli_node().

enum ast_data_type type

Definition at line 82 of file data.c.

Referenced by __ast_data_add(), __data_result_print_cli(), ast_data_retrieve(), ast_data_retrieve_type(), ast_data_search_match(), data_get_xml_add_child(), data_result_destructor(), data_result_manager_output(), data_result_print_cli(), and data_result_print_cli_node().

uint32_t uint

Definition at line 87 of file data.c.

Referenced by __ast_data_add(), ast_data_retrieve(), ast_data_search_match(), data_get_xml_add_child(), data_result_manager_output(), and data_result_print_cli_node().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:23 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7