C Cross Referencing & Documentation tool. Version 1.4.
Cross referencing of functions.
#define XREF_FUNC_FILE ".function"
#define XREF_FUNC_BACKUP ".function~"
The names of the variable cross reference files.
#define XREF_VAR_FILE ".variable"
#define XREF_VAR_BACKUP ".variable~"
The names of the include cross reference files.
#define XREF_INC_FILE ".include"
#define XREF_INC_BACKUP ".include~"
The names of the type cross reference files.
#define XREF_TYPE_FILE ".typedef"
#define XREF_TYPE_BACKUP ".typedef~"
Defined in: | cxref.c |
option_name
The base name of the file for the output.
Defined in: | cxref.c |
option_xref
The option for cross referencing.
Defined in: | cxref.c |
option_index
The option for indexing.
Defined in: | cxref.c |
void CreateAppendix ( StringList files, StringList2 funcs, StringList2 vars, StringList2 types )
Prototyped in: | cxref.h | |
Calls: | AddToStringList() | slist.c |
AddToStringList2() | slist.c | |
ConcatStrings() | memory.c | |
fclose(), fgets(), fopen(), fscanf(), strlen() | ||
Called by: | main() | cxref.c |
References Variables: | option_index | cxref.c |
option_name | cxref.c | |
option_odir | cxref.c |
void CrossReference ( File file )
Prototyped in: | cxref.h | |
Calls: | AddToStringList() | slist.c |
ConcatStrings() | memory.c | |
check_for_called() | xref.c | |
check_for_caller() | xref.c | |
check_for_var() | xref.c | |
check_for_var_func() | xref.c | |
fixup_extern_var() | xref.c | |
exit(), fclose(), fgets(), fopen(), fprintf(), fputs(), fscanf(), rename(), strcmp(), unlink() | ||
Called by: | main() | cxref.c |
References Variables: | option_name | cxref.c |
option_odir | cxref.c | |
option_xref | cxref.c |
void CrossReferenceDelete ( char* name )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
fclose(), fgets(), fopen(), fprintf(), fputs(), fscanf(), rename(), strcmp(), unlink() | ||
Called by: | main() | cxref.c |
References Variables: | option_name | cxref.c |
option_odir | cxref.c |
static void check_for_called ( File file, char* called, char* caller, char* filename )
Prototyped in: | xref.c | |
Calls: | AddToStringList2() | slist.c |
strcmp() | ||
Called by: | CrossReference() | xref.c |
static void check_for_caller ( File file, char* called, char* filename )
Prototyped in: | xref.c | |
Calls: | SafeMallocString() | memory.c |
strcmp() | ||
Called by: | CrossReference() | xref.c |
static void check_for_var ( File file, char* variable, char* filename, int scope, char* funcname )
Prototyped in: | xref.c | |
Calls: | AddToStringList2() | slist.c |
SafeMallocString() | memory.c | |
strcmp() | ||
Called by: | CrossReference() | xref.c |
static int check_for_var_func ( File file, Variable var, Function func )
Prototyped in: | xref.c | |
Calls: | AddToStringList2() | slist.c |
SafeFree() | memory.c | |
SafeMallocString() | memory.c | |
strcmp() | ||
Called by: | CrossReference() | xref.c |
static void fixup_extern_var ( Variable var, StringList2 refs )
Prototyped in: | xref.c | |
Calls: | SafeFree() | memory.c |
SafeMallocString() | memory.c | |
strcmp() | ||
Called by: | CrossReference() | xref.c |