diff options
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 0d3e417..854f6fc 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 */ |