~ubuntu-branches/ubuntu/maverick/texinfo/maverick

« back to all changes in this revision

Viewing changes to makeinfo/html.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2005-10-28 15:10:30 UTC
  • mto: (2.1.1 dapper) (3.1.4 hardy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051028151030-9nsf2s2k2z3fktjt
Tags: upstream-4.8
ImportĀ upstreamĀ versionĀ 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 $
3
3
 
4
 
   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
 
4
   Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
5
5
 
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
20
20
#ifndef HTML_H
21
21
#define HTML_H
22
22
 
 
23
/* A stack of font tags.  */
 
24
typedef struct hstack
 
25
{
 
26
  struct hstack *next;
 
27
  char *tag;
 
28
  char *attribs;
 
29
} HSTACK;
 
30
 
23
31
/* Nonzero if we have output the <head>.  */
24
32
extern int html_output_head_p;
25
33
 
 
34
/* Nonzero if we have output a title, from @titlefont or @settitle.  */
 
35
extern int html_title_written;
 
36
 
26
37
/* Perform the <head> output.  */
27
 
extern void html_output_head ();
 
38
extern void html_output_head (void);
28
39
 
29
40
/* Escape &<>.  */
30
 
extern char *escape_string (/* char * */);
 
41
extern char *escape_string (char *);
31
42
 
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);
34
45
 
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);
37
48
 
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);
40
51
 
41
52
/* 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 */ );
 
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);
 
58
 
 
59
#if defined (VA_FPRINTF) && __STDC__
 
60
extern void insert_html_tag_with_attribute (int start_or_end, char *tag, char *format, ...);
 
61
#else
 
62
extern void insert_html_tag_with_attribute ();
 
63
#endif
46
64
 
47
65
#endif /* !HTML_H */