Annotation of OpenXM_contrib/gnuplot/docs/xref.h, Revision 1.1.1.2
1.1 maekawa 1: /*
1.1.1.2 ! maekawa 2: * $Id: xref.h,v 1.2 1998/10/19 13:19:28 lhecking Exp $
1.1 maekawa 3: *
4: */
5:
6: /* GNUPLOT - xref.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_XREF_H
39: # define DOCS_XREF_H
40:
41: /*
42: * this file is included from xref.c
43: *
44: */
45:
46: struct LIST {
47: int level;
48: int line;
49: char *string;
50: struct LIST *next;
51: struct LIST *prev;
52: };
53:
54: #ifdef DOCS_XREF_MAIN
55: # define EXTERN /* nought */
56: #else
57: # define EXTERN extern
58: #endif
59:
60: EXTERN void parse __PROTO((FILE * a));
61: EXTERN struct LIST *lookup __PROTO((char *));
62: EXTERN struct LIST *lkup_by_number __PROTO((int line));
63: EXTERN void list_free __PROTO(());
64: EXTERN void refs __PROTO((int l, FILE * f, char *start, char *end, char *format));
65:
66: #ifdef PROTOTYPES
67: void *xmalloc __PROTO((size_t size));
68: #else
69: #endif
70:
71: #endif /* DOCS_XREF_H */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>