Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_config_include Struct Reference
Collaboration diagram for ast_config_include:
Collaboration graph
[legend]

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
 
char * included_file
 file name included More...
 
int inclusion_count
 
struct ast_config_includenext
 
int output
 

Detailed Description

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

Field Documentation

◆ exec

int exec

set to non-zero if its a exec statement

set to non-zero if itsa exec statement

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

Referenced by ast_config_text_file_save2(), 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 273 of file main/config.c.

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

◆ 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 266 of file main/config.c.

Referenced by ast_config_text_file_save2(), 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 267 of file main/config.c.

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

◆ included_file

char * included_file

file name included

Note
Will never be NULL

file name included

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

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

◆ 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 279 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 281 of file main/config.c.

Referenced by ast_config_text_file_save2(), and localized_config_text_file_save().


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