C Cross Referencing & Documentation tool. Version 1.6.
Writes the SGML output.
#define SGML_FILE ".sgml"
#define SGML_FILE_BACKUP ".sgml~"
The name of the output tex file that contains the appendix.
#define SGML_APDX ".apdx"
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: | WriteSGMLFile() |
of
The output file for the SGML.
filename
The name of the file.
| Used in: | WriteSGMLAppendix() | |
| WriteSGMLFile() | ||
| WriteSGMLPreamble() |
void WriteSGMLAppendix ( StringList files, StringList2 funcs, StringList2 vars, StringList2 types )
| Prototyped in: | cxref.h | |
| Calls: | ConcatStrings() | memory.c |
| WriteSGMLPostamble() | sgml.c | |
| WriteSGMLPreamble() | sgml.c | |
| sgml() | sgml.c | |
| exit(), fclose(), fopen(), fprintf(), strncmp() | ||
| Called by: | main() | cxref.c |
| References Variables: | filename | sgml.c |
| of | sgml.c | |
| option_name | cxref.c | |
| option_odir | cxref.c | |
void WriteSGMLFile ( File file )
| Prototyped in: | cxref.h | |
| Calls: | ConcatStrings() | memory.c |
| WriteSGMLDefine() | sgml.c | |
| WriteSGMLFilePart() | sgml.c | |
| WriteSGMLFunction() | sgml.c | |
| WriteSGMLInclude() | sgml.c | |
| WriteSGMLPostamble() | sgml.c | |
| WriteSGMLPreamble() | sgml.c | |
| WriteSGMLTypedef() | sgml.c | |
| WriteSGMLVariable() | sgml.c | |
| sgml() | sgml.c | |
| exit(), fclose(), fopen(), fprintf(), mkdir(), stat(), strlen() | ||
| Called by: | main() | cxref.c |
| References Variables: | filename | sgml.c |
| goback | sgml.c | |
| of | sgml.c | |
| option_name | cxref.c | |
| option_odir | cxref.c | |
void WriteSGMLFileDelete ( char* name )
| Prototyped in: | cxref.h | |
| Calls: | ConcatStrings() | memory.c |
| unlink() | ||
| Called by: | main() | cxref.c |
| References Variables: | option_odir | cxref.c |
static void WriteSGMLDefine ( Define def )
| Prototyped in: | sgml.c | |
| Calls: | sgml() | sgml.c |
| fprintf() | ||
| Called by: | WriteSGMLFile() | sgml.c |
| References Variables: | of | sgml.c |
static void WriteSGMLFilePart ( File file )
| Prototyped in: | sgml.c | |
| Calls: | sgml() | sgml.c |
| fprintf(), strstr() | ||
| Called by: | WriteSGMLFile() | sgml.c |
| References Variables: | of | sgml.c |
| option_verbatim_comments | cxref.c | |
static void WriteSGMLFunction ( Function func )
| Prototyped in: | sgml.c | |
| Calls: | sgml() | sgml.c |
| fprintf(), strcmp(), strncmp(), strstr() | ||
| Called by: | WriteSGMLFile() | sgml.c |
| References Variables: | of | sgml.c |
| option_verbatim_comments | cxref.c | |
static void WriteSGMLInclude ( Include inc )
| Prototyped in: | sgml.c | |
| Calls: | WriteSGMLSubInclude() | sgml.c |
| sgml() | sgml.c | |
| fprintf() | ||
| Called by: | WriteSGMLFile() | sgml.c |
| References Variables: | of | sgml.c |
static void WriteSGMLPostamble ( FILE* f )
| Prototyped in: | sgml.c | |
| Calls: | fputs() | |
| Called by: | WriteSGMLAppendix() | sgml.c |
| WriteSGMLFile() | sgml.c | |
static void WriteSGMLPreamble ( FILE* f, char* title )
| Prototyped in: | sgml.c | |
| Calls: | fprintf(), fputs() | |
| Called by: | WriteSGMLAppendix() | sgml.c |
| WriteSGMLFile() | sgml.c | |
| References Variables: | filename | sgml.c |
| run_command | cxref.c | |
| run_cpp_command | cxref.c | |
static void WriteSGMLStructUnion ( StructUnion su, int depth )
| Prototyped in: | sgml.c | |
| Calls: | WriteSGMLStructUnion() | sgml.c |
| sgml() | sgml.c | |
| fprintf(), strstr() | ||
| Called by: | WriteSGMLStructUnion() | sgml.c |
| WriteSGMLTypedef() | sgml.c | |
| References Variables: | of | sgml.c |
static void WriteSGMLSubInclude ( Include inc, int depth )
| Prototyped in: | sgml.c | |
| Calls: | WriteSGMLSubInclude() | sgml.c |
| sgml() | sgml.c | |
| fprintf() | ||
| Called by: | WriteSGMLInclude() | sgml.c |
| WriteSGMLSubInclude() | sgml.c | |
| References Variables: | of | sgml.c |
static void WriteSGMLTypedef ( Typedef type )
| Prototyped in: | sgml.c | |
| Calls: | WriteSGMLStructUnion() | sgml.c |
| sgml() | sgml.c | |
| fprintf(), strncmp() | ||
| Called by: | WriteSGMLFile() | sgml.c |
| References Variables: | of | sgml.c |
static void WriteSGMLVariable ( Variable var )
| Prototyped in: | sgml.c | |
| Calls: | sgml() | sgml.c |
| fprintf() | ||
| Called by: | WriteSGMLFile() | sgml.c |
| References Variables: | of | sgml.c |
static char* sgml ( char* c, int verbatim )