3 /* html.h -- declarations for html-related utilities.
4 Id: html.h,v 1.6 2004/11/30 02:03:23 karl Exp
6 Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software Foundation,
20 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
25 /* A stack of font tags. */
33 /* Nonzero if we have output the <head>. */
34 extern int html_output_head_p
;
36 /* Nonzero if we have output a title, from @titlefont or @settitle. */
37 extern int html_title_written
;
39 /* Perform the <head> output. */
40 extern void html_output_head (void);
43 extern char *escape_string (char *);
45 /* Open or close TAG according to START_OR_END. */
46 extern void insert_html_tag (int start_or_end
, char *tag
);
48 /* Output HTML <link> to NODE, plus extra ATTRIBUTES. */
49 extern void add_link (char *nodename
, char *attributes
);
51 /* Escape URL-special characters. */
52 extern void add_escaped_anchor_name (char *name
, int old
);
55 extern void add_anchor_name (char *nodename
, int href
);
56 extern void add_url_name (char *nodename
, int href
);
57 extern void add_nodename_to_filename (char *nodename
, int href
);
58 extern char *nodename_to_filename (char *nodename
);
59 extern int rollback_empty_tag (char *tag
);
61 #if defined (VA_FPRINTF) && __STDC__
62 extern void insert_html_tag_with_attribute (int start_or_end
, char *tag
, char *format
, ...);
64 extern void insert_html_tag_with_attribute ();