xref: /netbsd-src/external/gpl2/texinfo/dist/info/man.h (revision 29619d2afe564e54d657b83e5a3ae89584f83720)
1 /*	$NetBSD: man.h,v 1.1.1.1 2016/01/14 00:11:29 christos Exp $	*/
2 
3 /* man.h: Defines and external function declarations for man.c.
4    Id: man.h,v 1.3 2004/04/11 17:56:46 karl Exp
5 
6    This file is part of GNU Info, a program for reading online documentation
7    stored in Info format.
8 
9    Copyright (C) 1993, 1997, 2004 Free Software Foundation, Inc.
10 
11    This program is free software; you can redistribute it and/or modify
12    it under the terms of the GNU General Public License as published by
13    the Free Software Foundation; either version 2, or (at your option)
14    any later version.
15 
16    This program is distributed in the hope that it will be useful,
17    but WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19    GNU General Public License for more details.
20 
21    You should have received a copy of the GNU General Public License
22    along with this program; if not, write to the Free Software
23    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 
25    Author: Brian J. Fox (bfox@ai.mit.edu) Sat May  6 16:19:13 1995. */
26 
27 #ifndef INFO_MAN_H
28 #define INFO_MAN_H
29 
30 #define MANPAGE_FILE_BUFFER_NAME "*manpages*"
31 
32 extern NODE *make_manpage_node (char *pagename);
33 extern NODE *get_manpage_node (FILE_BUFFER *file_buffer,
34     char *pagename);
35 extern FILE_BUFFER *create_manpage_file_buffer (void);
36 extern long locate_manpage_xref (NODE *node, long int start, int dir);
37 extern REFERENCE **xrefs_of_manpage (NODE *node);
38 extern REFERENCE **manpage_xrefs_in_binding (NODE *node,
39     SEARCH_BINDING *binding);
40 
41 #endif /* INFO_MAN_H */
42