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