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

« back to all changes in this revision

Viewing changes to makeinfo/toc.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
/* toc.h -- table of contents handling.
2
 
   $Id: toc.h,v 1.5 2002/02/09 00:54:51 karl Exp $
 
2
   $Id: toc.h,v 1.2 2004/04/11 17:56:47 karl Exp $
3
3
 
4
4
   Copyright (C) 1999 Free Software Foundation, Inc.
5
5
 
22
22
#ifndef TOC_H
23
23
#define TOC_H
24
24
 
25
 
/* the file where we found the @contents directive */
26
 
extern char *contents_filename;
27
 
 
28
 
/* the file where we found the @shortcontents directive */
29
 
extern char *shortcontents_filename;
30
 
 
31
25
/* Structure to hold one entry for the toc. */
32
26
typedef struct toc_entry_elt {
33
27
  char *name;
41
35
 
42
36
/* all routines which have relationship with TOC should start with
43
37
   toc_ (this is a kind of name-space) */
44
 
extern int toc_add_entry (); /* return the number for the toc-entry */
45
 
extern void toc_free ();
46
 
extern char *toc_find_section_of_node ();
 
38
extern int toc_add_entry (char *tocname, int level,
 
39
    char *node_name, char *anchor); /* return the number for the toc-entry */
 
40
extern void toc_free (void);
 
41
extern char *toc_find_section_of_node (char *node);
47
42
 
48
 
extern void cm_contents (), cm_shortcontents ();
 
43
extern void cm_contents (int arg);
49
44
 
50
45
#endif /* not TOC_H */