source: trunk/third/texinfo/makeinfo/files.h @ 18945

Revision 18945, 1.5 KB checked in by amb, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18944, which included commits to RCS files with non-trunk default branches.
Line 
1/* files.h -- declarations for files.c.
2   $Id: files.h,v 1.1.1.2 2003-02-28 17:44:04 amb Exp $
3
4   Copyright (C) 1998, 2002 Free Software Foundation, Inc.
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11   This program is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with this program; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19   */
20
21#ifndef FILES_H
22#define FILES_H
23
24/* A stack of file information records.  If a new file is read in with
25   "@input", we remember the old input file state on this stack. */
26typedef struct fstack
27{
28  struct fstack *next;
29  char *filename;
30  char *text;
31  int size;
32  int offset;
33  int line_number;
34} FSTACK;
35extern FSTACK *filestack;
36
37extern void pushfile (), popfile ();
38extern void flush_file_stack ();
39extern char *find_and_load ();
40extern char *output_name_from_input_name ();
41extern char *expand_filename ();
42extern char *filename_part ();
43extern char *pathname_part ();
44extern char *normalize_filename ();
45
46#endif /* !FILES_H */
Note: See TracBrowser for help on using the repository browser.