1210409Skib/* dribble.h -- Functions and vars declared in dribble.c. */ 2247061Spjd 3210409Skib/* This file is part of GNU Info, a program for reading online documentation 4226839Spjd stored in Info format. 5255187Sjmg 6210409Skib Copyright (C) 1993, 2004 Free Software Foundation, Inc. 7210409Skib 8210409Skib This program is free software; you can redistribute it and/or modify 9210409Skib it under the terms of the GNU General Public License as published by 10210409Skib the Free Software Foundation; either version 2, or (at your option) 11210409Skib any later version. 12210409Skib 13210409Skib This program is distributed in the hope that it will be useful, 14210409Skib but WITHOUT ANY WARRANTY; without even the implied warranty of 15210409Skib MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16210409Skib GNU General Public License for more details. 17210409Skib 18210409Skib You should have received a copy of the GNU General Public License 19210409Skib along with this program; if not, write to the Free Software 20210409Skib Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21210409Skib 22210409Skib Written by Brian Fox (bfox@ai.mit.edu). */ 23210409Skib 24210409Skib#if !defined (_DRIBBLE_H_) 25210409Skib#define _DRIBBLE_H_ 26210409Skib 27210409Skib/* When non-zero, it is a stream to write all input characters to for the 28210409Skib duration of this info session. */ 29210409Skibextern FILE *info_dribble_file; 30210409Skib 31210409Skib/* Open a dribble file named NAME, perhaps closing an already open one. 32255187Sjmg This sets the global variable INFO_DRIBBLE_FILE to the open stream. */ 33210409Skibextern void open_dribble_file (char *name); 34210409Skib 35210409Skib/* If there is a dribble file already open, close it. */ 36210409Skibextern void close_dribble_file (void); 37210409Skib 38210409Skib/* Write some output to our existing dribble file. */ 39255187Sjmgextern void dribble (unsigned char byte); 40255187Sjmg 41210409Skib#endif /* !_DRIBBLE_H_ */ 42210409Skib