File: adoc.h

package info (click to toggle)
gridengine 8.1.9%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 56,880 kB
  • sloc: ansic: 432,689; java: 87,068; cpp: 31,958; sh: 29,429; jsp: 7,757; perl: 6,336; xml: 5,828; makefile: 4,701; csh: 3,928; ruby: 2,221; tcl: 1,676; lisp: 669; yacc: 519; python: 503; lex: 361; javascript: 200
file content (94 lines) | stat: -rw-r--r-- 2,862 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*                                                               -*- C -*-
 *  ADOC.H
 *
 *  (c)Copyright 1995 by Tobias Ferber,  All Rights Reserved
 *
 *  This file is part of ADOC.
 *
 *  ADOC is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published
 *  by the Free Software Foundation; either version 1 of the License,
 *  or (at your option) any later version.
 *
 *  ADOC is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; see the file COPYING.  If not, write to
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/* $VER: $Id: adoc.h,v 1.1 2001-07-18 11:05:53 root Exp $ */

#ifndef ADOC_H
#define ADOC_H

#include <stdio.h>

/* prototypes */

#if defined(__cplusplus) || defined(cplusplus)
extern "C" {
#endif

/* args.c */
extern char *convert_args(char *);
extern void display_args(int which);

/* strarg.c */
extern int strarg(char *key, ...);

/* strexpand.c */
extern char *strexpand(char *, char **);

/* gencode.c */
extern int gen_autodoc_toc(FILE *fp);
extern int gen_autodoc(FILE *fp, int cols, int tabsize, int flags, char **body_macros);
extern int gen_texinfo_header(FILE *fp, char *fname, char **header_macros);
extern int gen_texinfo(FILE *fp, int tabsize, int flags, char *body_environment, char **body_macros);

/* adoc.yy */
extern int read_source(char *, int, int);

/* main.c */
extern FILE *get_ferr(void);

/* flag whether or not autodoc comments must begin in column 1 or not */
#define SCANNER_ALLOW_INDENTED_COMMENTS  (1<<0)

/* flag whether or not to remove the indentation of body text lines */
#define SCANNER_UNINDENT_BODYTEXT        (1<<1)

/* flags for the texinfo code generator */

#define TEXI_GROUP_SECTIONS      (1<<0)
#define TEXI_FUNCTION_NEWPAGE    (1<<1)
#define TEXI_PARSE_REFERENCES    (1<<2)
#define TEXI_ITEMIZE_REFERENCES  (1<<3)
#define TEXI_CREATE_HEADER       (1<<4)
#define TEXI_TABLE_FUNCTIONS     (1<<5)
#define TEXI_NO_INDEX            (1<<6)

/* flags for the autodoc code generator */

#define ADOC_FORM_FEEDS          (1<<0)

/* initially `warn_mask' is set to WARN_NORMAL, so importatnt warnings are visible */

#define WARN_NORMAL              (1<<0)
#define WARN_BROKEN_COMMENTS     (1<<0)
#define WARN_STRANGE_TEXT        (1<<0)
#define WARN_UNKNOWN_KEYWORDS    (1<<1)
#define WARN_MISSING_KEYWORDS    (1<<2)
#define WARN_UNTITLED_SECTION    (1<<3)

#define WARN_ALL                 (~0)
#define WARN_NONE                (0)

#if defined(__cplusplus) || defined(cplusplus)
}
#endif /* C++ */

#endif /* !ADOC_H */