* breakpoint.c (add_catch_command): Use completer_ftype.
[deliverable/binutils-gdb.git] / gdb / completer.h
CommitLineData
c5f0f3d0 1/* Header for GDB line completion.
0b302171 2 Copyright (C) 2000, 2007-2012 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
aff410f1
MS
20extern char **complete_line (const char *text,
21 char *line_buffer,
22 int point);
83d31a92 23
aff410f1
MS
24extern char *readline_line_completion_function (const char *text,
25 int matches);
d75b5104 26
aff410f1
MS
27extern char **noop_completer (struct cmd_list_element *,
28 char *, char *);
d75b5104 29
aff410f1
MS
30extern char **filename_completer (struct cmd_list_element *,
31 char *, char *);
c5f0f3d0 32
aff410f1
MS
33extern char **expression_completer (struct cmd_list_element *,
34 char *, char *);
65d12d83 35
aff410f1
MS
36extern char **location_completer (struct cmd_list_element *,
37 char *, char *);
c94fdfd0 38
aff410f1
MS
39extern char **command_completer (struct cmd_list_element *,
40 char *, char *);
db60ec62 41
c5f0f3d0
FN
42extern char *get_gdb_completer_quote_characters (void);
43
67c296a2
PM
44extern char *gdb_completion_word_break_characters (void);
45
c5f0f3d0
FN
46/* Exported to linespec.c */
47
4e87b832
KD
48extern char *skip_quoted_chars (char *, char *, char *);
49
50extern char *skip_quoted (char *);
c5f0f3d0
FN
51
52#endif /* defined (COMPLETER_H) */
This page took 0.68644 seconds and 4 git commands to generate.