Thu Jul 9 13:41:39 2009

Asterisk developer's documentation


ast_variable Struct Reference

Structure for variables, used for configurations and for channel variables. More...

#include <config.h>


Data Fields

int blanklines
char * file
int lineno
const char * name
ast_variablenext
int object
ast_commentprecomments
ast_commentsameline
char stuff [0]
ast_commenttrailing
const char * value


Detailed Description

Structure for variables, used for configurations and for channel variables.

Definition at line 51 of file config.h.


Field Documentation

int blanklines

Number of blanklines following entry

Definition at line 60 of file config.h.

Referenced by ast_variable_update(), process_text_line(), and variable_clone().

char* file

Definition at line 56 of file config.h.

Referenced by ast_include_rename(), ast_variable_update(), check_access(), iax_parse_ies(), and variable_clone().

int lineno

Definition at line 58 of file config.h.

Referenced by ast_variable_update(), build_device(), build_gateway(), build_peer(), build_user(), handle_common_options(), iax_template_parse(), ind_load_module(), osp_create_provider(), pbx_load_config(), process_dahdi(), process_text_line(), reload_config(), reload_queue_rules(), set_config(), setup_dahdi(), smdi_load(), update_common_options(), and variable_clone().

const char* name

Definition at line 52 of file config.h.

Referenced by __ast_http_load(), _build_general_config(), _build_port_config(), _sip_show_peer(), action_getconfig(), action_getconfigjson(), adsi_load(), apply_options_full(), ast_iax2_new(), ast_readconfig(), ast_set_variables(), ast_variable_delete(), ast_variable_retrieve(), ast_variable_update(), build_alias(), build_device(), build_gateway(), build_peer(), build_profile(), build_user(), check_access(), collect_function_digits(), config_text_file_save(), convert_attribute_name_from_ldap(), copy_plain_file(), dahdi_new(), dahdi_show_channel(), do_say(), find_queue_by_name_rt(), function_sippeer(), generic_http_callback(), get_name_from_variable(), handle_cli_dialplan_save(), handle_common_options(), httpstatus_callback(), iax_parse_ies(), iax_template_parse(), ind_load_module(), load_config(), load_module(), load_modules(), load_odbc_config(), manid_from_vars(), osp_create_provider(), pbx_load_config(), private_enum_init(), process_dahdi(), read_agent_config(), read_config_maps(), realtime_alias(), realtime_exec(), realtime_ldap_base_ap(), realtime_peer(), realtime_user(), reload(), reload_config(), reload_queue_rules(), run_startup_commands(), search_directory(), set_config(), setup_dahdi(), sip_new(), sip_show_user(), skinny_new(), smdi_load(), store_config(), update_common_options(), variable_clone(), and xml_translate().

struct ast_variable* next

Definition at line 54 of file config.h.

Referenced by __ast_http_load(), _build_general_config(), _build_port_config(), _sip_show_peer(), action_getconfig(), action_getconfigjson(), add_rt_cfg_entry(), add_var(), adsi_load(), apply_options_full(), ast_iax2_new(), ast_include_rename(), ast_load_realtime(), ast_readconfig(), ast_set_variables(), ast_variable_append(), ast_variable_delete(), ast_variable_insert(), ast_variable_retrieve(), ast_variable_update(), ast_variables_destroy(), build_alias(), build_device(), build_gateway(), build_peer(), build_profile(), build_user(), check_access(), collect_function_digits(), config_text_file_save(), copy_plain_file(), copy_vars(), create_vmaccount(), dahdi_new(), dahdi_show_channel(), do_say(), find_queue_by_name_rt(), function_realtime_read(), function_realtime_readdestroy(), function_sippeer(), generic_http_callback(), get_name_from_variable(), handle_cli_dialplan_save(), handle_uri(), httpstatus_callback(), iax_parse_ies(), iax_template_parse(), ind_load_module(), load_config(), load_module(), load_modules(), load_odbc_config(), manid_from_vars(), osp_create_provider(), pbx_load_config(), private_enum_init(), process_dahdi(), read_agent_config(), read_config_maps(), realtime_alias(), realtime_exec(), realtime_ldap(), realtime_ldap_base_ap(), realtime_ldap_entry_to_var(), realtime_ldap_result_to_vars(), realtime_peer(), realtime_pgsql(), realtime_user(), reload(), reload_config(), reload_queue_rules(), run_startup_commands(), search_directory(), set_config(), setup_dahdi(), sip_new(), sip_show_user(), skinny_new(), smdi_load(), store_config(), and xml_translate().

int object

0 for variable, 1 for object

Definition at line 59 of file config.h.

Referenced by ast_variable_update(), handle_updates(), process_text_line(), and variable_clone().

struct ast_comment* precomments

Definition at line 61 of file config.h.

Referenced by ast_variable_update(), and process_text_line().

struct ast_comment* sameline

Definition at line 62 of file config.h.

Referenced by ast_variable_update(), and process_text_line().

char stuff[0]

Definition at line 64 of file config.h.

Referenced by ast_variable_new().

struct ast_comment* trailing

the last object in the list will get assigned any trailing comments when EOF is hit

Definition at line 63 of file config.h.

Referenced by ast_variable_update(), and config_text_file_load().

const char* value

Definition at line 53 of file config.h.

Referenced by __ast_http_load(), _build_general_config(), _build_port_config(), _sip_show_peer(), action_getconfig(), action_getconfigjson(), adsi_load(), apply_options_full(), ast_iax2_new(), ast_load_realtime(), ast_readconfig(), ast_set_variables(), ast_variable_delete(), ast_variable_retrieve(), ast_variable_update(), build_alias(), build_device(), build_gateway(), build_peer(), build_profile(), build_user(), check_access(), collect_function_digits(), config_ldap(), config_text_file_save(), convert_attribute_name_to_ldap(), copy_plain_file(), dahdi_new(), dahdi_show_channel(), do_say(), find_queue_by_name_rt(), function_sippeer(), generic_http_callback(), get_name_from_variable(), handle_cli_dialplan_save(), handle_common_options(), httpstatus_callback(), iax_parse_ies(), iax_template_parse(), ind_load_module(), load_config(), load_module(), load_modules(), load_odbc_config(), manid_from_vars(), osp_create_provider(), pbx_load_config(), private_enum_init(), process_dahdi(), read_agent_config(), read_config_maps(), realtime_alias(), realtime_exec(), realtime_ldap_base_ap(), realtime_ldap_result_to_vars(), realtime_peer(), realtime_user(), reload(), reload_config(), reload_queue_rules(), run_startup_commands(), search_directory(), semicolon_count_var(), set_config(), setup_dahdi(), sip_new(), sip_show_user(), skinny_new(), smdi_load(), store_config(), update_common_options(), variable_clone(), and xml_translate().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 9 13:41:39 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7