Back to index

tetex-bin  3.0
dribble.h
Go to the documentation of this file.
00001 /* dribble.h -- Functions and vars declared in dribble.c. */
00002 
00003 /* This file is part of GNU Info, a program for reading online documentation
00004    stored in Info format.
00005 
00006    Copyright (C) 1993, 2004 Free Software Foundation, Inc.
00007 
00008    This program is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    This program is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with this program; if not, write to the Free Software
00020    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021 
00022    Written by Brian Fox (bfox@ai.mit.edu). */
00023 
00024 #if !defined (_DRIBBLE_H_)
00025 #define _DRIBBLE_H_
00026 
00027 /* When non-zero, it is a stream to write all input characters to for the
00028    duration of this info session. */
00029 extern FILE *info_dribble_file;
00030 
00031 /* Open a dribble file named NAME, perhaps closing an already open one.
00032    This sets the global variable INFO_DRIBBLE_FILE to the open stream. */
00033 extern void open_dribble_file (char *name);
00034 
00035 /* If there is a dribble file already open, close it. */
00036 extern void close_dribble_file (void);
00037 
00038 /* Write some output to our existing dribble file. */
00039 extern void dribble (unsigned char byte);
00040 
00041 #endif /* !_DRIBBLE_H_ */