Wed Jan 8 2020 09:50:23

Asterisk developer's documentation


ast_config_include Struct Reference

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 248 of file config.c.

Field Documentation

int exec

set to non-zero if its a exec statement

Definition at line 255 of file config.c.

Referenced by ast_config_text_file_save().

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

Definition at line 260 of file config.c.

Referenced by ast_config_text_file_save(), and ast_includes_destroy().

char* include_location_file

file name in which the include occurs

Note
Will never be NULL

Definition at line 253 of file config.c.

Referenced by ast_config_text_file_save(), ast_include_rename(), and ast_includes_destroy().

int include_location_lineno

lineno where include occurred

Definition at line 254 of file config.c.

Referenced by ast_config_text_file_save().

char* included_file

file name included

Note
Will never be NULL

Definition at line 265 of file config.c.

Referenced by ast_config_text_file_save(), ast_include_find(), and ast_includes_destroy().

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

struct ast_config_include* next

ptr to next inclusion in the list

Definition at line 269 of file config.c.

Referenced by ast_config_text_file_save(), ast_include_find(), ast_include_rename(), and ast_includes_destroy().

int output

a flag to indicate if the inclusion has been output

Definition at line 268 of file config.c.

Referenced by ast_config_text_file_save().


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