Asterisk - The Open Source Telephony Project  GIT-master-09303e8
Data Structures | Data Fields
ast_category Struct Reference

Data Structures

struct  template_instance_list
 

Data Fields

char * file
 The file name from whence this declaration was read. More...
 
int ignored
 
int include_level
 
struct ast_variablelast
 
int lineno
 
char name [80]
 
struct ast_categorynext
 
struct ast_commentprecomments
 
struct ast_categoryprev
 
struct ast_variableroot
 
struct ast_commentsameline
 
struct ast_category::template_instance_list template_instances
 
struct ast_commenttrailing
 

Detailed Description

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

Field Documentation

◆ file

char * file

The file name from whence this declaration was read.

Note
Will never be NULL

the file name from whence this declaration was read

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

Referenced by ast_category_destroy(), ast_category_new(), ast_config_copy(), ast_config_text_file_save2(), ast_include_rename(), localized_ast_include_rename(), localized_config_text_file_save(), and new_category().

◆ ignored

int ignored

do not let user of the config see this category – set by (!) after the category decl; a template

do not let user of the config see this category

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

Referenced by ast_category_is_template(), ast_config_text_file_save2(), ast_variable_append(), category_get(), does_category_match(), new_category(), next_available_category(), and process_text_line().

◆ include_level

int include_level

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

Referenced by ast_category_append().

◆ last

struct ast_variable * last

◆ lineno

int lineno

◆ name

char name

◆ next

struct ast_category * next

◆ precomments

struct ast_comment * precomments

◆ prev

struct ast_category* prev

◆ root

struct ast_variable * root

◆ sameline

struct ast_comment * sameline

◆ template_instances

struct ast_category::template_instance_list template_instances

◆ trailing

struct ast_comment* trailing

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

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

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


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