142660Smarkm/* indices.h -- Functions defined in indices.c.
2146515Sru   $Id: indices.h,v 1.3 2004/04/11 17:56:45 karl Exp $
321495Sjmacd
442660Smarkm   This file is part of GNU Info, a program for reading online documentation
521495Sjmacd   stored in Info format.
621495Sjmacd
7146515Sru   Copyright (C) 1993, 1997, 2004 Free Software Foundation, Inc.
821495Sjmacd
921495Sjmacd   This program is free software; you can redistribute it and/or modify
1021495Sjmacd   it under the terms of the GNU General Public License as published by
1121495Sjmacd   the Free Software Foundation; either version 2, or (at your option)
1221495Sjmacd   any later version.
1321495Sjmacd
1421495Sjmacd   This program is distributed in the hope that it will be useful,
1521495Sjmacd   but WITHOUT ANY WARRANTY; without even the implied warranty of
1621495Sjmacd   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1721495Sjmacd   GNU General Public License for more details.
1821495Sjmacd
1921495Sjmacd   You should have received a copy of the GNU General Public License
2021495Sjmacd   along with this program; if not, write to the Free Software
2121495Sjmacd   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2221495Sjmacd
2321495Sjmacd   Written by Brian Fox (bfox@ai.mit.edu). */
2421495Sjmacd
2542660Smarkm#ifndef INFO_INDICES_H
2642660Smarkm#define INFO_INDICES_H
2721495Sjmacd
2821495Sjmacd/* User-visible variable controls the output of info-index-next. */
2921495Sjmacdextern int show_index_match;
3021495Sjmacd
31146515Sruextern REFERENCE **info_indices_of_window (WINDOW *window);
32146515Sruextern REFERENCE **info_indices_of_file_buffer (FILE_BUFFER *file_buffer);
33146515Sruextern void info_apropos (char *string);
3421495Sjmacd
3521495Sjmacd/* For every menu item in DIR, search the indices of that file for STRING. */
36146515SruREFERENCE **apropos_in_all_indices (char *search_string, int inform);
3721495Sjmacd
3821495Sjmacd/* User visible functions declared in indices.c. */
39146515Sruextern void info_index_search (WINDOW *window, int count, unsigned char key);
40146515Sruextern void info_next_index_match (WINDOW *window, int count, unsigned char key);
41146515Sruextern void info_index_apropos (WINDOW *window, int count, unsigned char key);
42146515Sruextern void do_info_index_search (WINDOW *window, int count, char *search_string);
43146515Sruextern int index_entry_exists (WINDOW *window, char *string);
4421495Sjmacd
4542660Smarkm#endif /* not INFO_INDICES_H */
46