2009-10-23 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gdb / completer.h
CommitLineData
c5f0f3d0 1/* Header for GDB line completion.
0fb0cc75 2 Copyright (C) 2000, 2007, 2008, 2009 Free Software Foundation, Inc.
c5f0f3d0
FN
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
a9762ec7 6 the Free Software Foundation; either version 3 of the License, or
c5f0f3d0
FN
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
a9762ec7 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c5f0f3d0
FN
16
17#if !defined (COMPLETER_H)
18#define COMPLETER_H 1
19
38017ce8 20extern char **complete_line (const char *text, char *line_buffer, int point);
83d31a92 21
38017ce8 22extern char *readline_line_completion_function (const char *text, int matches);
d75b5104 23
d8906c6f 24extern char **noop_completer (struct cmd_list_element *, char *, char *);
d75b5104 25
d8906c6f 26extern char **filename_completer (struct cmd_list_element *, char *, char *);
c5f0f3d0 27
d8906c6f 28extern char **expression_completer (struct cmd_list_element *, char *, char *);
65d12d83 29
d8906c6f 30extern char **location_completer (struct cmd_list_element *, char *, char *);
c94fdfd0 31
d8906c6f 32extern char **command_completer (struct cmd_list_element *, char *, char *);
db60ec62 33
c5f0f3d0
FN
34extern char *get_gdb_completer_quote_characters (void);
35
67c296a2
PM
36extern char *gdb_completion_word_break_characters (void);
37
c5f0f3d0
FN
38/* Exported to linespec.c */
39
4e87b832
KD
40extern char *skip_quoted_chars (char *, char *, char *);
41
42extern char *skip_quoted (char *);
c5f0f3d0
FN
43
44#endif /* defined (COMPLETER_H) */
This page took 0.575505 seconds and 4 git commands to generate.