C Cross Referencing & Documentation tool. Version 1.5.
Handle Function stuff.
| Defined in: | cxref.c |
CurFile
The current file that is being processed.
| Defined in: | cxref.c |
in_header
When in a header file include functions from that file (except inline functions).
| Defined in: | preproc.c |
| Used in: | CheckFunctionVariableRef() |
| ResetFunctionAnalyser() | |
| SeenFuncIntComment() | |
| SeenFunctionArg() | |
| SeenFunctionCall() | |
| SeenFunctionDeclaration() | |
| SeenFunctionDefinition() | |
| SeenFunctionProto() |
prototypes
The list of function prototypes and the files that they are defined in.
| Used in: | CheckFunctionVariableRef() |
| ResetFunctionAnalyser() | |
| SeenFunctionDefinition() | |
| SeenFunctionProto() |
void CheckFunctionVariableRef ( char* name, int in_a_function )
| Prototyped in: | cxref.h | |
| Calls: | AddToStringList2() | slist.c |
| IsAScopeVariable() | var.c | |
| strcmp() | ||
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | CurFile | cxref.c |
| cur_func | func.c | |
| option_xref | cxref.c | |
| prototypes | func.c | |
void DeleteFunctionType ( Function func )
| Prototyped in: | cxref.h | |
| Calls: | DeleteStringList() | slist.c |
| DeleteStringList2() | slist.c | |
| SafeFree() | memory.c | |
| Called by: | DeleteFile() | file.c |
| ResetFunctionAnalyser() | func.c | |
| SeenFunctionDeclaration() | func.c | |
void ResetFunctionAnalyser ( void )
| Prototyped in: | cxref.h | |
| Calls: | DeleteFunctionType() | func.c |
| DeleteStringList2() | slist.c | |
| Called by: | main() | cxref.c |
| References Variables: | CurFile | cxref.c |
| cur_func | func.c | |
| prototypes | func.c | |
int SeenFuncIntComment ( char* comment )
| Prototyped in: | cxref.h | |
| Calls: | ConcatStrings() | memory.c |
| SafeFree() | memory.c | |
| SafeMallocString() | memory.c | |
| Called by: | SeenComment() | comment.c |
| References Variables: | cur_func | func.c |
void SeenFunctionArg ( char* name, char* type )
| Prototyped in: | cxref.h | |
| Calls: | AddToStringList2() | slist.c |
| GetCurrentComment() | comment.c | |
| SafeFree() | memory.c | |
| SafeMallocString() | memory.c | |
| SplitComment() | comment.c | |
| strcmp() | ||
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_func | func.c |
void SeenFunctionCall ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | AddToStringList2() | slist.c |
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_func | func.c |
| option_xref | cxref.c | |
void SeenFunctionDeclaration ( char* name, int scope )
| Prototyped in: | cxref.h | |
| Calls: | DeleteFunctionType() | func.c |
| GetCurrentComment() | comment.c | |
| NewFunctionType() | func.c | |
| SafeMallocString() | memory.c | |
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_func | func.c |
| in_header | preproc.c | |
| parse_file | parse-lex.c | |
| parse_line | parse-lex.c | |
void SeenFunctionDefinition ( char* type )
| Prototyped in: | cxref.h | |
| Calls: | ConcatStrings() | memory.c |
| GetCurrentComment() | comment.c | |
| SafeFree() | memory.c | |
| SafeMallocString() | memory.c | |
| SplitComment() | comment.c | |
| strchr(), strcmp() | ||
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | CurFile | cxref.c |
| cur_func | func.c | |
| option_xref | cxref.c | |
| prototypes | func.c | |
void SeenFunctionProto ( char* name, int in_a_function )
| Prototyped in: | cxref.h | |
| Calls: | AddToStringList() | slist.c |
| AddToStringList2() | slist.c | |
| NewStringList2() | slist.c | |
| Called by: | yyparse() | parse-yacc.c |
| References Variables: | cur_func | func.c |
| option_xref | cxref.c | |
| parse_file | parse-lex.c | |
| prototypes | func.c | |
static Function NewFunctionType ( char* name, char* type )
| Prototyped in: | func.c | |
| Calls: | NewStringList() | slist.c |
| NewStringList2() | slist.c | |
| SafeCalloc() | memory.c | |
| SafeMallocString() | memory.c | |
| Called by: | SeenFunctionDeclaration() | func.c |