|
Packit |
0986c0 |
/*
|
|
Packit |
0986c0 |
* $Id: xref.h,v 1.3 2000/11/02 19:05:10 lhecking Exp $
|
|
Packit |
0986c0 |
*
|
|
Packit |
0986c0 |
*/
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
/* GNUPLOT - xref.h */
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
/*[
|
|
Packit |
0986c0 |
* Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
|
|
Packit |
0986c0 |
*
|
|
Packit |
0986c0 |
* Permission to use, copy, and distribute this software and its
|
|
Packit |
0986c0 |
* documentation for any purpose with or without fee is hereby granted,
|
|
Packit |
0986c0 |
* provided that the above copyright notice appear in all copies and
|
|
Packit |
0986c0 |
* that both that copyright notice and this permission notice appear
|
|
Packit |
0986c0 |
* in supporting documentation.
|
|
Packit |
0986c0 |
*
|
|
Packit |
0986c0 |
* Permission to modify the software is granted, but not the right to
|
|
Packit |
0986c0 |
* distribute the complete modified source code. Modifications are to
|
|
Packit |
0986c0 |
* be distributed as patches to the released version. Permission to
|
|
Packit |
0986c0 |
* distribute binaries produced by compiling modified sources is granted,
|
|
Packit |
0986c0 |
* provided you
|
|
Packit |
0986c0 |
* 1. distribute the corresponding source modifications from the
|
|
Packit |
0986c0 |
* released version in the form of a patch file along with the binaries,
|
|
Packit |
0986c0 |
* 2. add special version identification to distinguish your version
|
|
Packit |
0986c0 |
* in addition to the base release version number,
|
|
Packit |
0986c0 |
* 3. provide your name and address as the primary contact for the
|
|
Packit |
0986c0 |
* support of your modified version, and
|
|
Packit |
0986c0 |
* 4. retain our contact information in regard to use of the base
|
|
Packit |
0986c0 |
* software.
|
|
Packit |
0986c0 |
* Permission to distribute the released version of the source code along
|
|
Packit |
0986c0 |
* with corresponding source modifications in the form of a patch file is
|
|
Packit |
0986c0 |
* granted with same provisions 2 through 4 for binary distributions.
|
|
Packit |
0986c0 |
*
|
|
Packit |
0986c0 |
* This software is provided "as is" without express or implied warranty
|
|
Packit |
0986c0 |
* to the extent permitted by applicable law.
|
|
Packit |
0986c0 |
]*/
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
#ifndef DOCS_XREF_H
|
|
Packit |
0986c0 |
# define DOCS_XREF_H
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
/*
|
|
Packit |
0986c0 |
* this file is included from xref.c
|
|
Packit |
0986c0 |
*
|
|
Packit |
0986c0 |
*/
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
struct LIST {
|
|
Packit |
0986c0 |
int level;
|
|
Packit |
0986c0 |
int line;
|
|
Packit |
0986c0 |
char *string;
|
|
Packit |
0986c0 |
struct LIST *next;
|
|
Packit |
0986c0 |
struct LIST *prev;
|
|
Packit |
0986c0 |
};
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
#ifdef DOCS_XREF_MAIN
|
|
Packit |
0986c0 |
# define EXTERN /* nought */
|
|
Packit |
0986c0 |
#else
|
|
Packit |
0986c0 |
# define EXTERN extern
|
|
Packit |
0986c0 |
#endif
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
EXTERN void parse __PROTO((FILE * a));
|
|
Packit |
0986c0 |
EXTERN struct LIST *lookup __PROTO((char *));
|
|
Packit |
0986c0 |
EXTERN struct LIST *lkup_by_number __PROTO((int line));
|
|
Packit |
0986c0 |
EXTERN void list_free __PROTO((void));
|
|
Packit |
0986c0 |
EXTERN void refs __PROTO((int l, FILE * f, char *start, char *end, char *format));
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
#ifdef PROTOTYPES
|
|
Packit |
0986c0 |
void *xmalloc __PROTO((size_t size));
|
|
Packit |
0986c0 |
#else
|
|
Packit |
0986c0 |
#endif
|
|
Packit |
0986c0 |
|
|
Packit |
0986c0 |
#endif /* DOCS_XREF_H */
|