Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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 261 of file main/config.c.

Field Documentation

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().

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().

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().

int include_location_lineno

lineno where include occurred

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

Referenced by ast_config_text_file_save2().

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().

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.

struct ast_config_include * next

ptr to next inclusion in the list

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

Referenced by ast_config_text_file_save2().

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().


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