C Cross Referencing & Documentation tool. Version 1.5.
Collects the pre-processing instruction stuff.
| Defined in: | cxref.c |
option_incdirs
The name of the include directories specified on the command line.
| Defined in: | cxref.c |
option_nincdirs
The number of include directories on the command line.
| Defined in: | cxref.c |
| Used in: | ResetPreProcAnalyser() |
| SeenFileChange() | |
| SeenInclude() | |
| SeenIncludeComment() |
cur_def
The current #define we are looking at.
| Used in: | ResetPreProcAnalyser() |
| SeenDefine() | |
| SeenDefineComment() | |
| SeenDefineFuncArgComment() | |
| SeenDefineFunctionArg() | |
| SeenDefineValue() |
inc_depth
The depth of includes.
| Used in: | ResetPreProcAnalyser() |
| SeenFileChange() | |
| SeenInclude() |
inc_type
The type of include at this depth.
| Used in: | ResetPreProcAnalyser() |
| SeenFileChange() | |
| SeenInclude() |
cwd
The working directory.
| Used in: | ResetPreProcAnalyser() |
| SeenFileChange() |
void DeleteDefineType ( Define def )
| Prototyped in: | cxref.h | |
| Calls: | DeleteStringList2() | slist.c |
| SafeFree() | memory.c | |
| Called by: | DeleteFile() | file.c |
void DeleteIncludeType ( Include inc )
| Prototyped in: | cxref.h | |
| Calls: | DeleteIncludeType() | preproc.c |
| SafeFree() | memory.c | |
| Called by: | DeleteFile() | file.c |
| DeleteIncludeType() | preproc.c | |
void ResetPreProcAnalyser ( void )
| Prototyped in: | cxref.h | |
| Calls: | SafeFree() | memory.c |
| Called by: | main() | cxref.c |
| References Variables: | cur_def | preproc.c |
| cur_inc | preproc.c | |
| cwd | preproc.c | |
| in_header | preproc.c | |
| inc_depth | preproc.c | |
| inc_type | preproc.c | |
void SeenDefine ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | GetCurrentComment() | comment.c |
| NewDefineType() | preproc.c | |
| SafeMallocString() | memory.c | |
| Called by: | yylex() | parse-lex.c |
| References Variables: | CurFile | cxref.c |
| cur_def | preproc.c | |
| parse_line | parse-lex.c | |
void SeenDefineComment ( void )
| Prototyped in: | cxref.h | |
| Calls: | GetCurrentComment() | comment.c |
| SafeMallocString() | memory.c | |
| Called by: | yylex() | parse-lex.c |
| References Variables: | cur_def | preproc.c |
void SeenDefineFuncArgComment ( void )
| Prototyped in: | cxref.h | |
| Calls: | GetCurrentComment() | comment.c |
| SafeMallocString() | memory.c | |
| Called by: | yylex() | parse-lex.c |
| References Variables: | cur_def | preproc.c |
void SeenDefineFunctionArg ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | AddToStringList2() | slist.c |
| SplitComment() | comment.c | |
| Called by: | yylex() | parse-lex.c |
| References Variables: | cur_def | preproc.c |
void SeenDefineValue ( char* value )
| Prototyped in: | cxref.h | |
| Calls: | SafeMallocString() | memory.c |
| Called by: | yylex() | parse-lex.c |
| References Variables: | cur_def | preproc.c |
void SeenFileChange ( char* name, int flag )
| Prototyped in: | cxref.h | |
| Calls: | CanonicaliseName() | cxref.c |
| ConcatStrings() | memory.c | |
| SafeFree() | memory.c | |
| SafeMalloc() | memory.c | |
| SafeMallocString() | memory.c | |
| SafeRealloc() | memory.c | |
| SeenInclude() | preproc.c | |
| SetCurrentComment() | comment.c | |
| getcwd(), strlen(), strncmp() | ||
| Called by: | yylex() | parse-lex.c |
| References Variables: | cur_inc | preproc.c |
| cwd | preproc.c | |
| in_header | preproc.c | |
| inc_depth | preproc.c | |
| inc_type | preproc.c | |
void SeenInclude ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | CanonicaliseName() | cxref.c |
| ConcatStrings() | memory.c | |
| GetCurrentComment() | comment.c | |
| NewIncludeType() | preproc.c | |
| SafeMallocString() | memory.c | |
| lstat(), strlen() | ||
| Called by: | SeenFileChange() | preproc.c |
| yylex() | parse-lex.c | |
| References Variables: | CurFile | cxref.c |
| cur_inc | preproc.c | |
| inc_depth | preproc.c | |
| inc_type | preproc.c | |
| option_incdirs | cxref.c | |
| option_nincdirs | cxref.c | |
void SeenIncludeComment ( void )
| Prototyped in: | cxref.h | |
| Calls: | GetCurrentComment() | comment.c |
| SafeMallocString() | memory.c | |
| Called by: | yylex() | parse-lex.c |
| References Variables: | cur_inc | preproc.c |
static Define NewDefineType ( char* name )
| Prototyped in: | preproc.c | |
| Calls: | NewStringList2() | slist.c |
| SafeCalloc() | memory.c | |
| SafeMallocString() | memory.c | |
| Called by: | SeenDefine() | preproc.c |
static Include NewIncludeType ( char* name )
| Prototyped in: | preproc.c | |
| Calls: | SafeCalloc() | memory.c |
| SafeMallocString() | memory.c | |
| Called by: | SeenInclude() | preproc.c |