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 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 2, or (at your option)
|
---|
11 | 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, write to the Free Software
|
---|
20 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
---|
21 |
|
---|
22 | Written by Brian Fox (bfox@ai.mit.edu). */
|
---|
23 |
|
---|
24 | #if !defined (_DRIBBLE_H_)
|
---|
25 | #define _DRIBBLE_H_
|
---|
26 |
|
---|
27 | /* When non-zero, it is a stream to write all input characters to for the
|
---|
28 | duration of this info session. */
|
---|
29 | extern FILE *info_dribble_file;
|
---|
30 |
|
---|
31 | /* Open a dribble file named NAME, perhaps closing an already open one.
|
---|
32 | This sets the global variable INFO_DRIBBLE_FILE to the open stream. */
|
---|
33 | extern void open_dribble_file (char *name);
|
---|
34 |
|
---|
35 | /* If there is a dribble file already open, close it. */
|
---|
36 | extern void close_dribble_file (void);
|
---|
37 |
|
---|
38 | /* Write some output to our existing dribble file. */
|
---|
39 | extern void dribble (unsigned char byte);
|
---|
40 |
|
---|
41 | #endif /* !_DRIBBLE_H_ */
|
---|