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