1
1
/* html.h -- declarations for html-related utilities.
2
$Id: html.h,v 1.2 2000/12/19 15:17:52 karl Exp $
2
$Id: html.h,v 1.6 2004/11/30 02:03:23 karl Exp $
4
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
4
Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
6
6
This program is free software; you can redistribute it and/or modify
7
7
it under the terms of the GNU General Public License as published by
23
/* A stack of font tags. */
23
31
/* Nonzero if we have output the <head>. */
24
32
extern int html_output_head_p;
34
/* Nonzero if we have output a title, from @titlefont or @settitle. */
35
extern int html_title_written;
26
37
/* Perform the <head> output. */
27
extern void html_output_head ();
38
extern void html_output_head (void);
30
extern char *escape_string (/* char * */);
41
extern char *escape_string (char *);
32
43
/* Open or close TAG according to START_OR_END. */
33
extern void insert_html_tag (/* int start_or_end, char *tag */);
44
extern void insert_html_tag (int start_or_end, char *tag);
35
46
/* Output HTML <link> to NODE, plus extra ATTRIBUTES. */
36
extern void add_link (/* char *node, char *attributes */);
47
extern void add_link (char *nodename, char *attributes);
38
/* Escape URL-special characters as %xy. */
39
extern void add_escaped_anchor_name (/* char *name */);
49
/* Escape URL-special characters. */
50
extern void add_escaped_anchor_name (char *name, int old);
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 */ );
53
extern void add_anchor_name (char *nodename, int href);
54
extern void add_url_name (char *nodename, int href);
55
extern void add_nodename_to_filename (char *nodename, int href);
56
extern char *nodename_to_filename (char *nodename);
57
extern int rollback_empty_tag (char *tag);
59
#if defined (VA_FPRINTF) && __STDC__
60
extern void insert_html_tag_with_attribute (int start_or_end, char *tag, char *format, ...);
62
extern void insert_html_tag_with_attribute ();
47
65
#endif /* !HTML_H */