diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-23 10:46:22 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-23 10:46:22 +0000 |
commit | b641f89e0854f71e850ba1353f4f1b96e04e4385 (patch) | |
tree | 3fc59092050a7fe0bd61c1e105cf78dc1c99d284 /contrib/texinfo/makeinfo/toc.h | |
parent | 9456217d09f0616433b42ba7b4c1fa601f1a56e9 (diff) |
Import of stripped down GNU texinfo 4.8
Notes
Notes:
svn path=/vendor/texinfo/dist/; revision=146515
Diffstat (limited to 'contrib/texinfo/makeinfo/toc.h')
-rw-r--r-- | contrib/texinfo/makeinfo/toc.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/contrib/texinfo/makeinfo/toc.h b/contrib/texinfo/makeinfo/toc.h index 0d3e417c0c4c..854f6fc7ddcd 100644 --- a/contrib/texinfo/makeinfo/toc.h +++ b/contrib/texinfo/makeinfo/toc.h @@ -1,5 +1,5 @@ /* toc.h -- table of contents handling. - $Id: toc.h,v 1.1 2002/08/25 23:38:39 karl Exp $ + $Id: toc.h,v 1.2 2004/04/11 17:56:47 karl Exp $ Copyright (C) 1999 Free Software Foundation, Inc. @@ -22,12 +22,6 @@ #ifndef TOC_H #define TOC_H -/* the file where we found the @contents directive */ -extern char *contents_filename; - -/* the file where we found the @shortcontents directive */ -extern char *shortcontents_filename; - /* Structure to hold one entry for the toc. */ typedef struct toc_entry_elt { char *name; @@ -41,10 +35,11 @@ typedef struct toc_entry_elt { /* all routines which have relationship with TOC should start with toc_ (this is a kind of name-space) */ -extern int toc_add_entry (); /* return the number for the toc-entry */ -extern void toc_free (); -extern char *toc_find_section_of_node (); +extern int toc_add_entry (char *tocname, int level, + char *node_name, char *anchor); /* return the number for the toc-entry */ +extern void toc_free (void); +extern char *toc_find_section_of_node (char *node); -extern void cm_contents (), cm_shortcontents (); +extern void cm_contents (int arg); #endif /* not TOC_H */ |