Annotation of OpenXM_contrib/gnuplot/docs/doc2x.h, Revision 1.1
1.1 ! maekawa 1: /*
! 2: * $Id: $
! 3: *
! 4: */
! 5:
! 6: /* GNUPLOT - doc2x.h */
! 7:
! 8: /*[
! 9: * Copyright 1986 - 1993, 1998 Thomas Williams, Colin Kelley
! 10: *
! 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.
! 16: *
! 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,
! 21: * provided you
! 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
! 29: * software.
! 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.
! 33: *
! 34: * This software is provided "as is" without express or implied warranty
! 35: * to the extent permitted by applicable law.
! 36: ]*/
! 37:
! 38: #ifndef DOCS_DOC2X_H
! 39: # define DOCS_DOC2X_H
! 40:
! 41: typedef int boolean;
! 42:
! 43: #ifdef TRUE
! 44: # undef TRUE
! 45: #endif
! 46: #define TRUE 1
! 47:
! 48: #ifdef FALSE
! 49: # undef FALSE
! 50: #endif
! 51: #define FALSE 0
! 52:
! 53: /* Various defines and macros */
! 54: #ifndef MAX_LINE_LEN
! 55: # define MAX_LINE_LEN 1023
! 56: #endif
! 57:
! 58: #ifndef MAX_NAME_LEN
! 59: # define MAX_NAME_LEN 255
! 60: #endif
! 61:
! 62: #ifdef HAVE_STRINGIZE
! 63: # define START_HELP(driver) "C#" #driver ,
! 64: # define END_HELP(driver) ,"C#",
! 65: #else
! 66: # define START_HELP(driver) /* nought */
! 67: # define END_HELP(driver) ,
! 68: #endif
! 69:
! 70: #if defined(DOCS_TERMDOC_MAIN) || defined(DOCS_XREF_MAIN)
! 71: extern char *termtext[];
! 72: #else
! 73:
! 74: /* a complete lie, but they dont need it ! */
! 75: # define TERM_DRIVER_H
! 76: # define TERM_HELP
! 77:
! 78: char *termtext[] = {
! 79: # ifdef ALL_TERM_DOC
! 80: # include "allterm.h"
! 81: # else
! 82: # include "term.h"
! 83: # endif
! 84: NULL
! 85: };
! 86: #endif /* !DOCS_TERMDOC_MAIN */
! 87:
! 88: /* From termdoc.c */
! 89: #ifndef DOCS_TERMDOC_MAIN
! 90: extern int termdoc_lineno;
! 91: extern char termdoc_filename[];
! 92: #endif
! 93:
! 94: /* We are using the fgets() replacement from termdoc.c */
! 95: #ifndef DOCS_TERMDOC_MAIN
! 96: extern
! 97: #endif
! 98: char *get_line __PROTO((char *, int, FILE *));
! 99:
! 100: char *safe_strncpy __PROTO((char *, char *, size_t));
! 101:
! 102: #endif /* DOCS_DOC2X_H */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>