Merge commit 'crater/master'
[dragonfly.git] / contrib / texinfo-4 / info / footnotes.h
blob7f583994261c194992e494e4eb6b0084ceae6f39
1 /* footnotes.h -- Some functions for manipulating footnotes.
2 $Id: footnotes.h,v 1.3 2004/04/11 17:56:45 karl Exp $
4 Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 Written by Brian Fox (bfox@ai.mit.edu). */
22 #ifndef INFO_FOOTNOTES_H
23 #define INFO_FOOTNOTES_H
25 /* Magic string which indicates following text is footnotes. */
26 #define FOOTNOTE_LABEL N_("---------- Footnotes ----------")
28 #define FN_FOUND 0
29 #define FN_UNFOUND 1
30 #define FN_UNABLE 2
33 /* Create or delete the footnotes window depending on whether footnotes
34 exist in WINDOW's node or not. Returns FN_FOUND if footnotes were found
35 and displayed. Returns FN_UNFOUND if there were no footnotes found
36 in WINDOW's node. Returns FN_UNABLE if there were footnotes, but the
37 window to show them couldn't be made. */
38 extern int info_get_or_remove_footnotes (WINDOW *window);
40 /* Non-zero means attempt to show footnotes when displaying a new window. */
41 extern int auto_footnotes_p;
43 #endif /* not INFO_FOOTNOTES_H */