Merge from vendor branch BIND:
[dragonfly.git] / contrib / texinfo / makeinfo / html.h
1 /* html.h -- declarations for html-related utilities.
2    $Id: html.h,v 1.4 2002/03/18 19:45:18 karl Exp $
3
4    Copyright (C) 1999, 2000, 02 Free Software Foundation, Inc.
5
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.
10
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.
15
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 Foundation,
18    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19
20 #ifndef HTML_H
21 #define HTML_H
22
23 /* Nonzero if we have output the <head>.  */
24 extern int html_output_head_p;
25
26 /* Perform the <head> output.  */
27 extern void html_output_head ();
28
29 /* Escape &<>.  */
30 extern char *escape_string (/* char * */);
31
32 /* Open or close TAG according to START_OR_END.  */
33 extern void insert_html_tag (/* int start_or_end, char *tag */);
34
35 /* Output HTML <link> to NODE, plus extra ATTRIBUTES.  */
36 extern void add_link (/* char *node, char *attributes */);
37
38 /* Escape URL-special characters as %xy.  */
39 extern void add_escaped_anchor_name (/* char *name */);
40
41 /* See html.c.  */
42 extern void add_anchor_name (/* nodename, href */);
43 extern void add_url_name ( /* nodename, href */ );
44 extern char* nodename_to_filename ( /* nodename */ );
45 extern void add_nodename_to_filename ( /*nodename, href */ );
46
47 #endif /* !HTML_H */