-///
-typedef std::vector<TocItem> Toc;
-///
-typedef std::map<string, Toc> TocList;
-
-///
-TocList const getTocList(Buffer const *);
-
-///
-std::vector<string> const getTypes(Buffer const *);
-
-///
-void asciiTocList(string const &, Buffer const *, ostream &);
-
-/** Given the cmdName of the TOC param, returns the type used
- by ControlToc::getContents() */
-string const getType(string const & cmdName);
-
-///
-inline
-bool operator==(TocItem const & a, TocItem const & b)
-{
- return a.par == b.par && a.str == b.str;
- // No need to compare depth.
-}
-