Structure for variables, used for configurations and for channel variables. More...
#include <config.h>

Data Fields | |
| int | blanklines |
| const char * | file |
| int | lineno |
| const char * | name |
| struct ast_variable * | next |
| int | object |
| struct ast_comment * | precomments |
| struct ast_comment * | sameline |
| char | stuff [0] |
| Contents of file, name, and value in that order stuffed here. | |
| struct ast_comment * | trailing |
| const char * | value |
Structure for variables, used for configurations and for channel variables.
| int blanklines |
Number of blanklines following entry
Definition at line 89 of file config.h.
Referenced by ast_variable_move(), variable_clone(), process_text_line(), and ast_config_text_file_save().
| const char* file |
Filename where variable found. Stored in stuff[] at struct end.
Definition at line 85 of file config.h.
Referenced by mkintf(), check_access(), ast_variable_new(), ast_include_rename(), variable_clone(), ast_variable_update(), ast_config_text_file_save(), parkinglot_config_read(), iax_parse_ies(), pbx_load_config(), and dup_vars().
| int lineno |
Definition at line 87 of file config.h.
Referenced by load_config(), reload_followme(), sla_build_trunk(), sla_build_station(), osp_create_provider(), reload_queue_rules(), reload_single_queue(), process_dahdi(), setup_dahdi_int(), update_common_options(), build_user(), build_peer(), reload_config(), set_config(), build_gateway(), handle_t38_options(), handle_common_options(), config_parse_variables(), build_device(), ast_variable_move(), ast_variable_insert(), variable_clone(), process_text_line(), ast_config_text_file_save(), parkinglot_config_read(), __ast_http_load(), iax_template_parse(), init_logger_chain(), __init_manager(), pbx_load_config(), and smdi_load().
| const char* name |
Variable name. Stored in stuff[] at struct end.
Definition at line 77 of file config.h.
Referenced by ast_var_channel_types_table(), load_config(), search_directory_sub(), reload_followme(), rt_extend_conf(), conf_run(), find_conf_realtime(), find_conf(), conf_exec(), sla_build_trunk(), sla_build_station(), message_template_build(), prep_email_sub_vars(), create_vmaccount(), apply_general_options(), minivm_account_func_read(), osp_create_provider(), do_say(), reload(), load_module(), find_queue_by_name_rt(), reload_queue_rules(), reload_single_queue(), node_lookup(), load_rpt_vars(), collect_function_digits(), check_tx_freq(), do_scheduler(), apply_options_full(), copy_plain_file(), show_users_realtime(), ast_readconfig(), run_startup_commands(), read_agent_config(), build_device(), dahdi_new(), mkintf(), dahdi_show_channel(), process_dahdi(), setup_dahdi_int(), gtalk_create_member(), gtalk_load_config(), build_alias(), realtime_alias(), update_common_options(), build_user(), realtime_user(), build_peer(), realtime_peer(), reload_config(), build_callno_limits(), ast_iax2_new(), check_access(), authenticate_reply(), socket_process(), set_config(), jingle_create_member(), jingle_load_config(), handle_mgcp_show_endpoints(), mgcp_new(), find_realtime_gw(), build_gateway(), store_config(), get_name_from_variable(), sip_new(), transmit_invite(), manager_sipnotify(), _sip_show_peer(), sip_show_user(), sip_cli_notify(), function_sippeer(), handle_t38_options(), handle_common_options(), skinny_new(), config_parse_variables(), ast_plc_reload(), ast_set_variables(), ast_cli_perms_init(), parse_config(), ast_variable_new(), ast_include_rename(), ast_variable_retrieve(), variable_clone(), ast_variable_delete(), ast_variable_update(), process_text_line(), ast_config_text_file_save(), read_config_maps(), build_event_channel(), parkinglot_feature_flag_cfg(), parkinglot_config_read(), process_applicationmap_line(), process_config(), realtimefield_read(), ast_http_manid_from_vars(), static_callback(), httpstatus_callback(), ast_http_get_post_vars(), ast_http_get_cookies(), __ast_http_load(), iax_parse_ies(), iax_template_parse(), parse_tone_zone(), load_modules(), init_logger_chain(), action_getconfig(), action_getconfigjson(), xml_translate(), generic_http_callback(), auth_http_callback(), __init_manager(), _build_general_config(), _build_port_config(), handle_cli_dialplan_save(), pbx_load_config(), dup_vars(), realtime_exec(), adsi_load(), build_calendar(), caldav_load_calendar(), ewscal_load_calendar(), exchangecal_load_calendar(), ical_load_calendar(), reload_module(), variable_named(), convert_attribute_name_to_ldap(), convert_attribute_name_from_ldap(), realtime_ldap_base_ap(), realtime_multi_ldap(), http_post_callback(), __ast_http_post_load(), aji_create_client(), aji_load_config(), local_ast_moh_start(), load_moh_classes(), load_odbc_config(), build_profile(), load_pktccops_config(), cli_realtime_load(), append_mailbox_mapping(), smdi_load(), and ast_xmldoc_load_documentation().
| struct ast_variable* next |
Next node in the list.
Definition at line 82 of file config.h.
Referenced by ast_var_channel_types(), ast_var_channel_types_table(), load_config(), search_directory_sub(), reload_followme(), find_realtime(), rt_extend_conf(), conf_run(), find_conf_realtime(), find_conf(), conf_exec(), sla_build_trunk(), sla_build_station(), message_template_build(), prep_email_sub_vars(), create_vmaccount(), apply_general_options(), minivm_account_func_read(), osp_create_provider(), do_say(), reload(), load_module(), find_queue_by_name_rt(), reload_queue_rules(), reload_single_queue(), node_lookup(), load_rpt_vars(), collect_function_digits(), check_tx_freq(), do_scheduler(), apply_options_full(), copy_plain_file(), show_users_realtime(), ast_readconfig(), run_startup_commands(), read_agent_config(), build_device(), dahdi_new(), mkintf(), dahdi_show_channel(), process_dahdi(), setup_dahdi_int(), gtalk_create_member(), gtalk_load_config(), build_alias(), realtime_alias(), build_user(), realtime_user(), build_peer(), realtime_peer(), reload_config(), build_callno_limits(), ast_iax2_new(), check_access(), authenticate_reply(), socket_process(), set_config(), jingle_create_member(), jingle_load_config(), handle_mgcp_show_endpoints(), mgcp_new(), find_realtime_gw(), build_gateway(), add_var(), copy_vars(), store_config(), get_name_from_variable(), sip_new(), transmit_invite(), manager_sipnotify(), _sip_show_peer(), sip_show_user(), sip_cli_notify(), function_sippeer(), skinny_new(), config_parse_variables(), ast_plc_reload(), ast_set_variables(), ast_cli_perms_init(), parse_config(), ast_include_rename(), ast_variable_append(), ast_variable_insert(), ast_variables_destroy(), ast_variable_retrieve(), inherit_category(), ast_variable_delete(), ast_variable_update(), process_text_line(), ast_config_text_file_save(), read_config_maps(), ast_load_realtime(), build_event_channel(), parkinglot_config_read(), process_config(), function_realtime_read(), realtimefield_read(), function_realtime_readdestroy(), ast_http_manid_from_vars(), static_callback(), httpstatus_callback(), ast_http_get_post_vars(), ast_http_get_cookies(), httpd_helper_thread(), __ast_http_load(), iax_parse_ies(), iax_template_parse(), parse_tone_zone(), load_modules(), init_logger_chain(), action_getconfig(), action_getconfigjson(), xml_translate(), generic_http_callback(), auth_http_callback(), __init_manager(), _build_general_config(), _build_port_config(), handle_cli_dialplan_save(), pbx_load_config(), dup_vars(), realtime_exec(), apply_outgoing(), adsi_load(), build_calendar(), caldav_load_calendar(), ewscal_load_calendar(), exchangecal_load_calendar(), ical_load_calendar(), reload_module(), variable_named(), ldap_table_config_add_attribute(), convert_attribute_name_to_ldap(), convert_attribute_name_from_ldap(), realtime_ldap_entry_to_var(), realtime_ldap_result_to_vars(), realtime_ldap_base_ap(), realtime_ldap(), realtime_multi_ldap(), add_rt_cfg_entry(), http_post_callback(), __ast_http_post_load(), aji_create_client(), aji_load_config(), local_ast_moh_start(), load_moh_classes(), load_odbc_config(), build_profile(), load_pktccops_config(), cli_realtime_load(), smdi_load(), and ast_xmldoc_load_documentation().
| int object |
0 for variable, 1 for object
Definition at line 88 of file config.h.
Referenced by ast_variable_move(), variable_clone(), ast_variable_update(), process_text_line(), ast_config_text_file_save(), and handle_updates().
| struct ast_comment* precomments |
Definition at line 90 of file config.h.
Referenced by ast_variable_move(), ast_variable_destroy(), process_text_line(), and ast_config_text_file_save().
| struct ast_comment* sameline |
Definition at line 91 of file config.h.
Referenced by ast_variable_move(), ast_variable_destroy(), process_text_line(), and ast_config_text_file_save().
| char stuff[0] |
Contents of file, name, and value in that order stuffed here.
Definition at line 97 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 92 of file config.h.
Referenced by ast_variable_move(), ast_variable_destroy(), config_text_file_load(), and ast_config_text_file_save().
| const char* value |
Variable value. Stored in stuff[] at struct end.
Definition at line 79 of file config.h.
Referenced by load_config(), search_directory_sub(), reload_followme(), rt_extend_conf(), conf_run(), find_conf_realtime(), find_conf(), conf_exec(), sla_build_trunk(), sla_add_trunk_to_station(), sla_build_station(), message_template_build(), prep_email_sub_vars(), create_vmaccount(), apply_general_options(), minivm_account_func_read(), osp_create_provider(), do_say(), reload(), load_module(), find_queue_by_name_rt(), reload_queue_rules(), reload_single_queue(), load_rpt_vars(), collect_function_digits(), check_tx_freq(), do_scheduler(), apply_options_full(), copy_plain_file(), show_users_realtime(), ast_readconfig(), run_startup_commands(), read_agent_config(), build_device(), dahdi_new(), mkintf(), dahdi_show_channel(), process_dahdi(), setup_dahdi_int(), gtalk_create_member(), gtalk_load_config(), build_alias(), realtime_alias(), update_common_options(), build_user(), realtime_user(), build_peer(), realtime_peer(), reload_config(), build_callno_limits(), ast_iax2_new(), check_access(), authenticate_reply(), socket_process(), set_config(), jingle_create_member(), jingle_load_config(), handle_mgcp_show_endpoints(), mgcp_new(), find_realtime_gw(), build_gateway(), store_config(), get_name_from_variable(), sip_new(), transmit_invite(), manager_sipnotify(), _sip_show_peer(), sip_show_user(), sip_cli_notify(), function_sippeer(), handle_t38_options(), handle_common_options(), skinny_new(), config_parse_variables(), ast_plc_reload(), ast_set_variables(), ast_cli_perms_init(), parse_config(), ast_variable_new(), ast_include_rename(), ast_variable_retrieve(), variable_clone(), ast_variable_delete(), ast_variable_update(), process_text_line(), ast_config_text_file_save(), read_config_maps(), ast_load_realtime(), build_event_channel(), parkinglot_feature_flag_cfg(), parkinglot_config_read(), process_applicationmap_line(), process_config(), realtimefield_read(), ast_http_manid_from_vars(), static_callback(), httpstatus_callback(), ast_http_get_post_vars(), ast_http_get_cookies(), __ast_http_load(), iax_parse_ies(), iax_template_parse(), parse_tone_zone(), load_modules(), init_logger_chain(), action_getconfig(), action_getconfigjson(), xml_translate(), generic_http_callback(), auth_http_callback(), __init_manager(), _build_general_config(), _build_port_config(), handle_cli_dialplan_save(), pbx_load_config(), dup_vars(), realtime_exec(), adsi_load(), build_calendar(), caldav_load_calendar(), ewscal_load_calendar(), exchangecal_load_calendar(), ical_load_calendar(), reload_module(), semicolon_count_var(), convert_attribute_name_to_ldap(), convert_attribute_name_from_ldap(), realtime_ldap_result_to_vars(), realtime_ldap_base_ap(), realtime_multi_ldap(), config_ldap(), http_post_callback(), __ast_http_post_load(), aji_create_client(), aji_load_config(), local_ast_moh_start(), load_moh_classes(), load_odbc_config(), build_profile(), load_pktccops_config(), cli_realtime_load(), append_mailbox_mapping(), smdi_load(), and ast_xmldoc_load_documentation().