C Cross Referencing & Documentation tool. Version 1.5.
Collects the typedef stuff.
Defined in: | cxref.c |
in_typedef
Whether we are parsing a typedef or not.
Defined in: | parse-yacc.c |
Used in: | IsATypeName() |
ResetTypeAnalyser() | |
SeenTypedefName() |
cur_su
The current struct / union or enum definition.
Used in: | ResetTypeAnalyser() |
SeenStructUnionComp() | |
SeenStructUnionEnd() | |
SeenStructUnionStart() |
cur_type_su
The current struct / union if seen in a typedef.
static StructUnion cur_type_su
Used in: | ResetTypeAnalyser() |
SeenStructUnionEnd() | |
SeenTypedef() |
last_typedef
The last typedef seen, used when two types share a typedef statement.
Used in: | ResetTypeAnalyser() |
SeenTypedef() |
type_lineno
The line number that a typedef or structure was seen on.
Used in: | SeenStructUnionEnd() |
SeenStructUnionStart() | |
SeenTypedef() |
void DeleteTypedefType ( Typedef type )
Prototyped in: | cxref.h | |
Calls: | DeleteStructUnionType() | type.c |
SafeFree() | memory.c | |
Called by: | DeleteFile() | file.c |
int IsATypeName ( char* name )
Prototyped in: | cxref.h | |
Calls: | strcmp() | |
Called by: | yylex() | parse-lex.c |
yyparse() | parse-yacc.c | |
References Variables: | typedefs | type.c |
void ResetTypeAnalyser ( void )
Prototyped in: | cxref.h | |
Calls: | DeleteStringList2() | slist.c |
Called by: | main() | cxref.c |
References Variables: | cur_su | type.c |
cur_type_su | type.c | |
last_typedef | type.c | |
typedefs | type.c |
void SeenStructUnionComp ( char* name, int depth )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
CopyStructUnion() | type.c | |
GetCurrentComment() | comment.c | |
NewStructUnionType() | type.c | |
NewTypedefType() | type.c | |
SafeFree() | memory.c | |
SafeMalloc() | memory.c | |
SafeMallocString() | memory.c | |
SafeRealloc() | memory.c | |
strchr(), strcmp() | ||
Called by: | yyparse() | parse-yacc.c |
References Variables: | CurFile | cxref.c |
cur_su | type.c |
void SeenStructUnionEnd ( void )
Prototyped in: | cxref.h | |
Calls: | NewTypedefType() | type.c |
strlen(), strncmp() | ||
Called by: | yyparse() | parse-yacc.c |
References Variables: | CurFile | cxref.c |
cur_su | type.c | |
cur_type_su | type.c | |
in_typedef | parse-yacc.c | |
type_lineno | type.c |
void SeenStructUnionStart ( char* name )
Prototyped in: | cxref.h | |
Calls: | GetCurrentComment() | comment.c |
NewStructUnionType() | type.c | |
SafeMallocString() | memory.c | |
Called by: | yyparse() | parse-yacc.c |
References Variables: | cur_su | type.c |
in_typedef | parse-yacc.c | |
parse_line | parse-lex.c | |
type_lineno | type.c |
void SeenTypedef ( char* name, char* type )
Prototyped in: | cxref.h | |
Calls: | GetCurrentComment() | comment.c |
NewTypedefType() | type.c | |
SafeMallocString() | memory.c | |
strlen(), strncmp() | ||
Called by: | yyparse() | parse-yacc.c |
References Variables: | CurFile | cxref.c |
cur_type_su | type.c | |
last_typedef | type.c | |
parse_line | parse-lex.c | |
type_lineno | type.c |
void SeenTypedefName ( char* name, int what_type )
Prototyped in: | cxref.h | |
Calls: | AddToStringList2() | slist.c |
NewStringList2() | slist.c | |
Called by: | yyparse() | parse-yacc.c |
References Variables: | typedefs | type.c |
static StructUnion CopyStructUnion ( StructUnion su )
Prototyped in: | type.c | |
Calls: | CopyStructUnion() | type.c |
NewStructUnionType() | type.c | |
SafeMalloc() | memory.c | |
SafeMallocString() | memory.c | |
Called by: | CopyStructUnion() | type.c |
SeenStructUnionComp() | type.c |
static void DeleteStructUnionType ( StructUnion su )
Prototyped in: | type.c | |
Calls: | DeleteStructUnionType() | type.c |
SafeFree() | memory.c | |
Called by: | DeleteStructUnionType() | type.c |
DeleteTypedefType() | type.c |
static StructUnion NewStructUnionType ( char* name )
Prototyped in: | type.c | |
Calls: | SafeCalloc() | memory.c |
SafeMallocString() | memory.c | |
Called by: | CopyStructUnion() | type.c |
SeenStructUnionComp() | type.c | |
SeenStructUnionStart() | type.c |
static Typedef NewTypedefType ( char* name, char* type )
Prototyped in: | type.c | |
Calls: | SafeCalloc() | memory.c |
SafeMallocString() | memory.c | |
Called by: | SeenStructUnionComp() | type.c |
SeenStructUnionEnd() | type.c | |
SeenTypedef() | type.c |