Asterisk - The Open Source Telephony Project GIT-master-8f1982c
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
Data Structures | Data Fields
ast_config_include Struct Reference
Collaboration diagram for ast_config_include:
Collaboration graph
[legend]

Data Structures

struct  included_files_list
 

Data Fields

int exec
 
char * exec_file
 if it's an exec, you'll have both the /var/tmp to read, and the original script More...
 
char * include_location_file
 file name in which the include occurs More...
 
int include_location_lineno
 
enum include_statement_type include_type
 
char * included_file
 file name included More...
 
struct ast_config_include::included_files_list included_files
 
int inclusion_count
 
struct ast_config_includenext
 
int output
 
struct ast_commentprecomments
 
struct ast_commentsameline
 
struct ast_commenttrailing
 

Detailed Description

Definition at line 283 of file main/config.c.

Field Documentation

◆ exec

int exec

set to non-zero if itsa exec statement

Definition at line 924 of file extconf.c.

Referenced by ast_include_new(), and localized_config_text_file_save().

◆ exec_file

char * exec_file

if it's an exec, you'll have both the /var/tmp to read, and the original script

Note
Will never be NULL if exec is non-zero

if it's an exec, you'll have both the /var/tmp to read, and the original script

Definition at line 295 of file main/config.c.

Referenced by ast_include_destroy(), ast_include_new(), ast_includes_destroy(), localized_config_text_file_save(), and print_include().

◆ include_location_file

char * include_location_file

file name in which the include occurs

Note
Will never be NULL

file name in which the include occurs

Definition at line 288 of file main/config.c.

Referenced by ast_config_text_file_save2(), ast_include_destroy(), ast_include_new(), ast_include_rename(), ast_includes_destroy(), localized_ast_include_rename(), and localized_config_text_file_save().

◆ include_location_lineno

int include_location_lineno

lineno where include occurred

Definition at line 289 of file main/config.c.

Referenced by ast_config_text_file_save2(), ast_include_new(), and localized_config_text_file_save().

◆ include_type

enum include_statement_type include_type

#include, exec, #tryinclude

Definition at line 290 of file main/config.c.

Referenced by ast_config_text_file_save2(), ast_include_new(), and print_include().

◆ included_file

char * included_file

file name included

Note
Will never be NULL

file name included

Definition at line 300 of file main/config.c.

Referenced by ast_include_destroy(), ast_include_find(), ast_include_new(), ast_includes_destroy(), localized_config_text_file_save(), and print_include().

◆ included_files

list of #include/#tryinclude files

Referenced by ast_config_text_file_save2(), ast_include_new(), and config_included_files_destroy().

◆ inclusion_count

int inclusion_count

if the file is included more than once, a running count thereof – but, worry not, we explode the instances and will include those– so all entries will be unique

Definition at line 302 of file main/config.c.

Referenced by ast_include_new().

◆ next

struct ast_config_include * next

◆ output

int output

a flag to indicate if the inclusion has been output

Definition at line 304 of file main/config.c.

Referenced by ast_config_text_file_save2(), and localized_config_text_file_save().

◆ precomments

struct ast_comment* precomments

◆ sameline

struct ast_comment* sameline

Definition at line 306 of file main/config.c.

Referenced by ast_include_destroy(), and process_text_line().

◆ trailing

struct ast_comment* trailing

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

Definition at line 307 of file main/config.c.

Referenced by ast_config_text_file_save2(), ast_include_destroy(), and config_text_file_load().


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