2 * $Id: doc2x.h,v 1.8 2004/04/13 17:23:31 broeker Exp $
6 /* GNUPLOT - doc2x.h */
9 * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
11 * Permission to use, copy, and distribute this software and its
12 * documentation for any purpose with or without fee is hereby granted,
13 * provided that the above copyright notice appear in all copies and
14 * that both that copyright notice and this permission notice appear
15 * in supporting documentation.
17 * Permission to modify the software is granted, but not the right to
18 * distribute the complete modified source code. Modifications are to
19 * be distributed as patches to the released version. Permission to
20 * distribute binaries produced by compiling modified sources is granted,
22 * 1. distribute the corresponding source modifications from the
23 * released version in the form of a patch file along with the binaries,
24 * 2. add special version identification to distinguish your version
25 * in addition to the base release version number,
26 * 3. provide your name and address as the primary contact for the
27 * support of your modified version, and
28 * 4. retain our contact information in regard to use of the base
30 * Permission to distribute the released version of the source code along
31 * with corresponding source modifications in the form of a patch file is
32 * granted with same provisions 2 through 4 for binary distributions.
34 * This software is provided "as is" without express or implied warranty
35 * to the extent permitted by applicable law.
41 #include "stdfn.h" /* HBB 990828: safe_strncpy() prototype */
43 /* Various defines and macros */
45 # define MAX_LINE_LEN 1023
49 # define MAX_NAME_LEN 255
53 # define START_HELP(driver) "C#" #driver ,
54 # define END_HELP(driver) ,"C#",
56 # define START_HELP(driver) /* nought */
57 # define END_HELP(driver) ,
60 #if defined(DOCS_TERMDOC_MAIN) || defined(DOCS_XREF_MAIN)
61 extern char *termtext[];
64 /* a complete lie, but they dont need it ! */
65 # define TERM_DRIVER_H
76 #endif /* !DOCS_TERMDOC_MAIN */
79 #ifndef DOCS_TERMDOC_MAIN
80 extern int termdoc_lineno;
81 extern char termdoc_filename[];
84 /* We are using the fgets() replacement from termdoc.c */
85 #ifndef DOCS_TERMDOC_MAIN
88 char *get_line __PROTO((char *, int, FILE *));
90 #endif /* DOCS_DOC2X_H */