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