Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / texinfo / info / dribble.h
1 /* dribble.h -- Functions and vars declared in dribble.c. */
2
3 /* This file is part of GNU Info, a program for reading online documentation
4    stored in Info format.
5
6    Copyright (C) 1993, 2004, 2007 Free Software Foundation, Inc.
7
8    This program is free software: you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation, either version 3 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
21    Written by Brian Fox (bfox@ai.mit.edu). */
22
23 #if !defined (_DRIBBLE_H_)
24 #define _DRIBBLE_H_
25
26 /* When non-zero, it is a stream to write all input characters to for the
27    duration of this info session. */
28 extern FILE *info_dribble_file;
29
30 /* Open a dribble file named NAME, perhaps closing an already open one.
31    This sets the global variable INFO_DRIBBLE_FILE to the open stream. */
32 extern void open_dribble_file (char *name);
33
34 /* If there is a dribble file already open, close it. */
35 extern void close_dribble_file (void);
36
37 /* Write some output to our existing dribble file. */
38 extern void dribble (unsigned char byte);
39
40 #endif /* !_DRIBBLE_H_ */