Thu Apr 28 2011 17:14:05

Asterisk developer's documentation


ast_variable Struct Reference

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

#include <config.h>

Collaboration diagram for ast_variable:

Data Fields

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

Detailed Description

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

Definition at line 74 of file config.h.


Field Documentation

Number of blanklines following entry

Definition at line 83 of file config.h.

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

const char* name

Definition at line 75 of file config.h.

Referenced by __ast_http_load(), __ast_http_post_load(), __init_manager(), _build_general_config(), _build_port_config(), _sip_show_peer(), action_getconfig(), action_getconfigjson(), adsi_load(), aji_create_client(), aji_load_config(), append_mailbox_mapping(), apply_general_options(), apply_options_full(), ast_cli_perms_init(), ast_config_text_file_save(), ast_iax2_new(), ast_plc_reload(), ast_readconfig(), ast_set_variables(), ast_var_channel_types_table(), ast_variable_delete(), ast_variable_new(), ast_variable_retrieve(), ast_variable_update(), authenticate_reply(), build_alias(), build_callno_limits(), build_device(), build_event_channel(), build_gateway(), build_parkinglot(), build_peer(), build_profile(), build_user(), check_access(), check_tx_freq(), cli_realtime_load(), collect_function_digits(), conf_exec(), conf_run(), config_parse_variables(), convert_attribute_name_from_ldap(), convert_attribute_name_to_ldap(), copy_plain_file(), create_vmaccount(), dahdi_new(), dahdi_show_channel(), do_say(), do_scheduler(), find_conf(), find_conf_realtime(), find_queue_by_name_rt(), function_sippeer(), generic_http_callback(), get_name_from_variable(), gtalk_create_member(), gtalk_load_config(), handle_cli_dialplan_save(), handle_common_options(), handle_t38_options(), http_post_callback(), httpstatus_callback(), iax_parse_ies(), iax_template_parse(), init_logger_chain(), jingle_create_member(), jingle_load_config(), load_config(), load_module(), load_modules(), load_moh_classes(), load_odbc_config(), load_rpt_vars(), local_ast_moh_start(), manid_from_vars(), message_template_build(), minivm_account_func_read(), mkintf(), node_lookup(), osp_create_provider(), parse_config(), parse_tone_zone(), pbx_load_config(), prep_email_sub_vars(), process_dahdi(), process_text_line(), read_agent_config(), read_config_maps(), realtime_alias(), realtime_exec(), realtime_ldap_base_ap(), realtime_multi_ldap(), realtime_peer(), realtime_user(), realtimefield_read(), reload(), reload_config(), reload_followme(), reload_queue_rules(), reload_single_queue(), rt_extend_conf(), run_startup_commands(), search_directory_sub(), set_config(), setup_dahdi(), show_users_realtime(), sip_new(), sip_show_user(), skinny_new(), sla_build_station(), sla_build_trunk(), smdi_load(), socket_process(), store_config(), transmit_invite(), transmit_notify_custom(), update_common_options(), variable_clone(), variable_named(), and xml_translate().

struct ast_variable* next

Definition at line 77 of file config.h.

Referenced by __ast_http_load(), __ast_http_post_load(), __init_manager(), _build_general_config(), _build_port_config(), _sip_show_peer(), action_getconfig(), action_getconfigjson(), add_rt_cfg_entry(), add_var(), adsi_load(), aji_create_client(), aji_load_config(), apply_general_options(), apply_options_full(), apply_outgoing(), ast_cli_perms_init(), ast_config_text_file_save(), ast_iax2_new(), ast_include_rename(), ast_load_realtime(), ast_plc_reload(), ast_readconfig(), ast_set_variables(), ast_var_channel_types(), ast_var_channel_types_table(), ast_variable_append(), ast_variable_delete(), ast_variable_insert(), ast_variable_retrieve(), ast_variable_update(), ast_variables_destroy(), authenticate_reply(), build_alias(), build_callno_limits(), build_device(), build_event_channel(), build_gateway(), build_parkinglot(), build_peer(), build_profile(), build_user(), check_access(), check_tx_freq(), cli_realtime_load(), collect_function_digits(), conf_exec(), conf_run(), config_parse_variables(), convert_attribute_name_from_ldap(), convert_attribute_name_to_ldap(), copy_plain_file(), copy_vars(), create_vmaccount(), dahdi_new(), dahdi_show_channel(), do_say(), do_scheduler(), find_conf(), find_conf_realtime(), find_queue_by_name_rt(), find_realtime(), function_realtime_read(), function_realtime_readdestroy(), function_sippeer(), generic_http_callback(), get_name_from_variable(), gtalk_create_member(), gtalk_load_config(), handle_cli_dialplan_save(), handle_uri(), http_post_callback(), httpd_helper_thread(), httpstatus_callback(), iax_parse_ies(), iax_template_parse(), inherit_category(), init_logger_chain(), jingle_create_member(), jingle_load_config(), ldap_table_config_add_attribute(), load_config(), load_module(), load_modules(), load_moh_classes(), load_odbc_config(), load_rpt_vars(), local_ast_moh_start(), manid_from_vars(), message_template_build(), minivm_account_func_read(), mkintf(), node_lookup(), osp_create_provider(), parse_config(), parse_tone_zone(), pbx_load_config(), prep_email_sub_vars(), process_dahdi(), process_text_line(), 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_multi_ldap(), realtime_peer(), realtime_user(), realtimefield_read(), reload(), reload_config(), reload_followme(), reload_queue_rules(), reload_single_queue(), rt_extend_conf(), run_startup_commands(), search_directory_sub(), set_config(), setup_dahdi(), show_users_realtime(), sip_new(), sip_show_user(), skinny_new(), sla_build_station(), sla_build_trunk(), smdi_load(), socket_process(), store_config(), transmit_invite(), transmit_notify_custom(), variable_named(), and xml_translate().

int object

0 for variable, 1 for object

Definition at line 82 of file config.h.

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

char stuff[0]

Definition at line 87 of file config.h.

Referenced by ast_variable_new().

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

Definition at line 86 of file config.h.

Referenced by ast_config_text_file_save(), ast_variables_destroy(), and config_text_file_load().

const char* value

Definition at line 76 of file config.h.

Referenced by __ast_http_load(), __ast_http_post_load(), __init_manager(), _build_general_config(), _build_port_config(), _sip_show_peer(), action_getconfig(), action_getconfigjson(), adsi_load(), aji_create_client(), aji_load_config(), append_mailbox_mapping(), apply_general_options(), apply_options_full(), ast_cli_perms_init(), ast_config_text_file_save(), ast_iax2_new(), ast_load_realtime(), ast_plc_reload(), ast_readconfig(), ast_set_variables(), ast_variable_delete(), ast_variable_new(), ast_variable_retrieve(), ast_variable_update(), authenticate_reply(), build_alias(), build_callno_limits(), build_device(), build_event_channel(), build_gateway(), build_parkinglot(), build_peer(), build_profile(), build_user(), check_access(), check_tx_freq(), cli_realtime_load(), collect_function_digits(), conf_exec(), conf_run(), config_ldap(), config_parse_variables(), convert_attribute_name_from_ldap(), convert_attribute_name_to_ldap(), copy_plain_file(), create_vmaccount(), dahdi_new(), dahdi_show_channel(), do_say(), do_scheduler(), find_conf(), find_conf_realtime(), find_queue_by_name_rt(), function_sippeer(), generic_http_callback(), get_name_from_variable(), gtalk_create_member(), gtalk_load_config(), handle_cli_dialplan_save(), handle_common_options(), handle_t38_options(), http_post_callback(), httpstatus_callback(), iax_parse_ies(), iax_template_parse(), init_logger_chain(), jingle_create_member(), jingle_load_config(), load_config(), load_module(), load_modules(), load_moh_classes(), load_odbc_config(), load_rpt_vars(), local_ast_moh_start(), manid_from_vars(), message_template_build(), minivm_account_func_read(), mkintf(), osp_create_provider(), parse_config(), parse_tone_zone(), pbx_load_config(), prep_email_sub_vars(), process_dahdi(), process_text_line(), read_agent_config(), read_config_maps(), realtime_alias(), realtime_exec(), realtime_ldap_base_ap(), realtime_ldap_result_to_vars(), realtime_multi_ldap(), realtime_peer(), realtime_user(), realtimefield_read(), reload(), reload_config(), reload_followme(), reload_queue_rules(), reload_single_queue(), rt_extend_conf(), run_startup_commands(), search_directory_sub(), semicolon_count_var(), set_config(), setup_dahdi(), show_users_realtime(), sip_new(), sip_show_user(), skinny_new(), sla_add_trunk_to_station(), sla_build_station(), sla_build_trunk(), smdi_load(), socket_process(), store_config(), transmit_invite(), transmit_notify_custom(), update_common_options(), variable_clone(), and xml_translate().


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