GDB (API)
/home/stan/gdb/src/gdb/completer.h
Go to the documentation of this file.
00001 /* Header for GDB line completion.
00002    Copyright (C) 2000-2013 Free Software Foundation, Inc.
00003 
00004    This program is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 3 of the License, or
00007    (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00016 
00017 #if !defined (COMPLETER_H)
00018 #define COMPLETER_H 1
00019 
00020 #include "gdb_vecs.h"
00021 
00022 extern VEC (char_ptr) *complete_line (const char *text,
00023                                       char *line_buffer,
00024                                       int point);
00025 
00026 extern char *readline_line_completion_function (const char *text,
00027                                                 int matches);
00028 
00029 extern VEC (char_ptr) *noop_completer (struct cmd_list_element *,
00030                                        const char *, const char *);
00031 
00032 extern VEC (char_ptr) *filename_completer (struct cmd_list_element *,
00033                                            const char *, const char *);
00034 
00035 extern VEC (char_ptr) *expression_completer (struct cmd_list_element *,
00036                                              const char *, const char *);
00037 
00038 extern VEC (char_ptr) *location_completer (struct cmd_list_element *,
00039                                            const char *, const char *);
00040 
00041 extern VEC (char_ptr) *command_completer (struct cmd_list_element *,
00042                                           const char *, const char *);
00043 
00044 extern VEC (char_ptr) *signal_completer (struct cmd_list_element *,
00045                                          const char *, const char *);
00046 
00047 extern char *get_gdb_completer_quote_characters (void);
00048 
00049 extern char *gdb_completion_word_break_characters (void);
00050 
00051 /* Exported to linespec.c */
00052 
00053 extern const char *skip_quoted_chars (const char *, const char *,
00054                                       const char *);
00055 
00056 extern const char *skip_quoted (const char *);
00057 
00058 #endif /* defined (COMPLETER_H) */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines