From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,8473cd1ac66ab969,start X-Google-Attributes: gid10d4db,public From: "Andrew M. Bishop" Subject: Cxref - C program cross-referencing & documentation tool Date: 1996/05/01 Message-ID: X-Deja-AN: 152497704 x-original-date: Sun, 28 Apr 1996 17:06:02 +0100 organization: ? followup-to: comp.os.linux.development.apps newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Cxref Version 1.0 ================= Produce LaTeX or HTML documentation including cross-references from C program source code. Works for ANSI C, including a few gcc extensions. The documentation for the program is produced from comments in the code that are appropriatly formatted. The cross referencing comes from the code itself and requires no extra work. The documentation is produced for each of the following: Files - A comment that applies to the whole file. Functions - A comment for the function, including a description of each of the arguments and the return value. Variables - A comment for each of a group of variables and/or individual variables. #include - A comment for each included file. #define - A comment for each pre-processor symbol definition, and for macro arguments. Type definitions - A comment for each defined type and for each element of a structure or union type. Any or all of these comments can be present in suitable places in the source code. The cross referencing is performed for the following items Files - The files that the current file is included in (even when included via other files). #includes - Files included in the current file. - Files included by these files etc. Variables - The location of the definition of external variables. - The files that have visibility of global variables. - The files / functions that use the variable. Functions - The file that the function is prototyped in. - The functions that the function calls. - The functions that call the function. - The files and functions that reference the function. - The variables that are used in the function. Each of these items is cross referenced in the output. Includes extensive README with details and examples on how to use the program. This program has been tested on the following systems: Linux 1.1.x, SunOS 4.1.x, Solaris 2.x cxref-1.0.tgz, 207781 Bytes, a gzipped tar file of C source code. Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory (to be re-organised to /pub/unix/tools in the future). This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk) and distributed under GPL. Begin3 Title: Cxref - C program cross-referencing & documentation tool Version: 1.0 [24-Feb-96] Entered-date: 24-Feb-96 Description: A program that takes as input a series of C source files and produces a LaTeX or HTML document containing a cross reference of the files/functions/variables in the program, including documentation taken from suitably formatted source code comments. The documentation is stored in the C source file in specially formatted comments, making it simple to maintain. The cross referencing includes lists of functions called, callers of each function, usage of global variables, header file inclusion, macro definitions and type definitions. Works for ANSI C, including a few gcc extensions. Keywords: C programming document cross-reference Author: amb@gedanken.demon.co.uk Maintained-by: amb@gedanken.demon.co.uk Primary-site: ftp.demon.co.uk /pub/unix/unix/tools 208k cxref-1.0.tgz Alternate-site: Original-site: Platform: UNIX Copying-policy: GPL End Andrew. - -- - ---------------------------------------------------------------------- Andrew M. Bishop amb@gedanken.demon.co.uk -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMYdMu4QRll5MupLRAQGWyQP7BTY8YWQiMdB+zZNoHTV7f4A2Tziab9bv mRlIIems0U0ezX+6Ts1LiVfxWoFg4aujw6Dkpo4Av9K7ITB9gbA74ajXl+Mr+5PE XeKcNpLXgrxiK+ygPPkmGF+b2SNHwKB+8rZm8GSlDRFatEx9Z2ocq1wnFr/Ky6Tm aHDYEA6POZQ= =eAts -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.