C Cross Referencing & Documentation tool. Version 1.5c.
Writes the RTF output.
#define RTF_FILE ".rtf"
#define RTF_FILE_BACKUP ".rtf~"
The name of the output rtf file that contains the appendix.
#define RTF_APDX ".apdx"
#define STYLE_NORM "\\s0\\f0\\fs24"
#define STYLE_H1 "\\s1\\f0\\fs40\\b\\sb400\\sa200\\keepn\\keep"
#define STYLE_H2 "\\s2\\f0\\fs32\\b\\sb200\\sa100\\keepn\\keep"
#define STYLE_H3 "\\s3\\f0\\fs28\\b\\sb100\\sa100\\keepn\\keep"
#define STYLE_H4 "\\s4\\f0\\fs24\\b\\sb100\\sa50\\keepn\\keep"
#define STYLE_TT "\\s5\\f1\\fs20\\ql\\sb50\\sa50"
#define STYLE_IND "\\s6\\f0\\fs24\\ql\\li720"
extern int option_verbatim_comments
Defined in: | cxref.c |
option_odir
The name of the directory for the output.
extern char* option_odir
Defined in: | cxref.c |
option_name
The base name of the file for the output.
extern char* option_name
Defined in: | cxref.c |
run_command
The information about the cxref run, the command line options.
extern char* run_command
Defined in: | cxref.c |
run_cpp_command
The information about the cxref run, the cpp command and options.
extern char* run_cpp_command
Defined in: | cxref.c |
Used in: | WriteRTFAppendix() |
WriteRTFDefine() | |
WriteRTFFile() | |
WriteRTFFilePart() | |
WriteRTFFunction() | |
WriteRTFInclude() | |
WriteRTFStructUnion() | |
WriteRTFSubInclude() | |
WriteRTFTypedef() | |
WriteRTFVariable() |
void WriteRTFAppendix ( StringList files, StringList2 funcs, StringList2 vars, StringList2 types )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
WriteRTFPostamble() | rtf.c | |
WriteRTFPreamble() | rtf.c | |
rtf() | rtf.c | |
exit(), fclose(), fopen(), fprintf(), strncmp() | ||
Called by: | main() | cxref.c |
References Variables: | of | rtf.c |
option_name | cxref.c | |
option_odir | cxref.c |
void WriteRTFFile ( File file )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
WriteRTFDefine() | rtf.c | |
WriteRTFFilePart() | rtf.c | |
WriteRTFFunction() | rtf.c | |
WriteRTFInclude() | rtf.c | |
WriteRTFPostamble() | rtf.c | |
WriteRTFPreamble() | rtf.c | |
WriteRTFTypedef() | rtf.c | |
WriteRTFVariable() | rtf.c | |
rtf() | rtf.c | |
exit(), fclose(), fopen(), fprintf(), mkdir(), stat(), strlen() | ||
Called by: | main() | cxref.c |
References Variables: | of | rtf.c |
option_odir | cxref.c |
void WriteRTFFileDelete ( char* name )
Prototyped in: | cxref.h | |
Calls: | ConcatStrings() | memory.c |
unlink() | ||
Called by: | main() | cxref.c |
References Variables: | option_odir | cxref.c |
static void WriteRTFDefine ( Define def )
Prototyped in: | rtf.c | |
Calls: | rtf() | rtf.c |
fprintf() | ||
Called by: | WriteRTFFile() | rtf.c |
References Variables: | of | rtf.c |
static void WriteRTFFilePart ( File file )
Prototyped in: | rtf.c | |
Calls: | rtf() | rtf.c |
fprintf(), strstr() | ||
Called by: | WriteRTFFile() | rtf.c |
References Variables: | of | rtf.c |
option_verbatim_comments | cxref.c |
static void WriteRTFFunction ( Function func, char* filename )
Prototyped in: | rtf.c | |
Calls: | rtf() | rtf.c |
fprintf(), strcmp(), strncmp(), strstr() | ||
Called by: | WriteRTFFile() | rtf.c |
References Variables: | of | rtf.c |
option_verbatim_comments | cxref.c |
static void WriteRTFInclude ( Include inc )
Prototyped in: | rtf.c | |
Calls: | WriteRTFSubInclude() | rtf.c |
rtf() | rtf.c | |
fprintf() | ||
Called by: | WriteRTFFile() | rtf.c |
References Variables: | of | rtf.c |
static void WriteRTFPostamble ( FILE* f )
Prototyped in: | rtf.c | |
Calls: | fputs() | |
Called by: | WriteRTFAppendix() | rtf.c |
WriteRTFFile() | rtf.c |
static void WriteRTFPreamble ( FILE* f )
Prototyped in: | rtf.c | |
Calls: | fputs(), strcmp() | |
Called by: | WriteRTFAppendix() | rtf.c |
WriteRTFFile() | rtf.c |
static void WriteRTFStructUnion ( StructUnion su, int depth )
Prototyped in: | rtf.c | |
Calls: | WriteRTFStructUnion() | rtf.c |
rtf() | rtf.c | |
fprintf(), strstr() | ||
Called by: | WriteRTFStructUnion() | rtf.c |
WriteRTFTypedef() | rtf.c | |
References Variables: | of | rtf.c |
static void WriteRTFSubInclude ( Include inc, int depth )
Prototyped in: | rtf.c | |
Calls: | WriteRTFSubInclude() | rtf.c |
rtf() | rtf.c | |
fprintf() | ||
Called by: | WriteRTFInclude() | rtf.c |
WriteRTFSubInclude() | rtf.c | |
References Variables: | of | rtf.c |
static void WriteRTFTypedef ( Typedef type, char* filename )
Prototyped in: | rtf.c | |
Calls: | WriteRTFStructUnion() | rtf.c |
rtf() | rtf.c | |
fprintf(), strncmp() | ||
Called by: | WriteRTFFile() | rtf.c |
References Variables: | of | rtf.c |
static void WriteRTFVariable ( Variable var, char* filename )
Prototyped in: | rtf.c | |
Calls: | rtf() | rtf.c |
fprintf() | ||
Called by: | WriteRTFFile() | rtf.c |
References Variables: | of | rtf.c |
static char* rtf ( char* c, int verbatim )