15796c8dcSSimon Schubert /* Header for GDB line completion. 2*ef5ccd6cSJohn Marino Copyright (C) 2000-2013 Free Software Foundation, Inc. 35796c8dcSSimon Schubert 45796c8dcSSimon Schubert This program is free software; you can redistribute it and/or modify 55796c8dcSSimon Schubert it under the terms of the GNU General Public License as published by 65796c8dcSSimon Schubert the Free Software Foundation; either version 3 of the License, or 75796c8dcSSimon Schubert (at your option) any later version. 85796c8dcSSimon Schubert 95796c8dcSSimon Schubert This program is distributed in the hope that it will be useful, 105796c8dcSSimon Schubert but WITHOUT ANY WARRANTY; without even the implied warranty of 115796c8dcSSimon Schubert MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 125796c8dcSSimon Schubert GNU General Public License for more details. 135796c8dcSSimon Schubert 145796c8dcSSimon Schubert You should have received a copy of the GNU General Public License 155796c8dcSSimon Schubert along with this program. If not, see <http://www.gnu.org/licenses/>. */ 165796c8dcSSimon Schubert 175796c8dcSSimon Schubert #if !defined (COMPLETER_H) 185796c8dcSSimon Schubert #define COMPLETER_H 1 195796c8dcSSimon Schubert 20*ef5ccd6cSJohn Marino #include "gdb_vecs.h" 21*ef5ccd6cSJohn Marino 22*ef5ccd6cSJohn Marino extern VEC (char_ptr) *complete_line (const char *text, 23c50c785cSJohn Marino char *line_buffer, 24c50c785cSJohn Marino int point); 255796c8dcSSimon Schubert 26c50c785cSJohn Marino extern char *readline_line_completion_function (const char *text, 27c50c785cSJohn Marino int matches); 285796c8dcSSimon Schubert 29*ef5ccd6cSJohn Marino extern VEC (char_ptr) *noop_completer (struct cmd_list_element *, 30c50c785cSJohn Marino char *, char *); 315796c8dcSSimon Schubert 32*ef5ccd6cSJohn Marino extern VEC (char_ptr) *filename_completer (struct cmd_list_element *, 33c50c785cSJohn Marino char *, char *); 345796c8dcSSimon Schubert 35*ef5ccd6cSJohn Marino extern VEC (char_ptr) *expression_completer (struct cmd_list_element *, 36c50c785cSJohn Marino char *, char *); 375796c8dcSSimon Schubert 38*ef5ccd6cSJohn Marino extern VEC (char_ptr) *location_completer (struct cmd_list_element *, 39c50c785cSJohn Marino char *, char *); 405796c8dcSSimon Schubert 41*ef5ccd6cSJohn Marino extern VEC (char_ptr) *command_completer (struct cmd_list_element *, 42*ef5ccd6cSJohn Marino char *, char *); 43*ef5ccd6cSJohn Marino 44*ef5ccd6cSJohn Marino extern VEC (char_ptr) *signal_completer (struct cmd_list_element *, 45c50c785cSJohn Marino char *, char *); 465796c8dcSSimon Schubert 475796c8dcSSimon Schubert extern char *get_gdb_completer_quote_characters (void); 485796c8dcSSimon Schubert 495796c8dcSSimon Schubert extern char *gdb_completion_word_break_characters (void); 505796c8dcSSimon Schubert 515796c8dcSSimon Schubert /* Exported to linespec.c */ 525796c8dcSSimon Schubert 535796c8dcSSimon Schubert extern char *skip_quoted_chars (char *, char *, char *); 545796c8dcSSimon Schubert 555796c8dcSSimon Schubert extern char *skip_quoted (char *); 565796c8dcSSimon Schubert 575796c8dcSSimon Schubert #endif /* defined (COMPLETER_H) */ 58