summaryrefslogtreecommitdiff
path: root/gdb/completer.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-02-18 01:12:38 +0000
committerTom Tromey <tromey@redhat.com>2002-02-18 01:12:38 +0000
commit72d4e0a8c8ae04882b9e9754cba9e542f3f76478 (patch)
tree70fcf6efc02693b2bf3a10cd7c18d87151dd62bd /gdb/completer.h
parentabaf1104dfb446b3f91a341b9fc056c750a2598e (diff)
downloadgdb-72d4e0a8c8ae04882b9e9754cba9e542f3f76478.tar.gz
* cli/cli-cmds.c (compare_strings): New function.
(complete_command): Only print each unique item once. * completer.h (complete_line): Declare. * completer.c (complete_line): New function. (line_completion_function): Use it.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r--gdb/completer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/completer.h b/gdb/completer.h
index c717a5e5c38..98b9ed83745 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -19,6 +19,8 @@
#if !defined (COMPLETER_H)
#define COMPLETER_H 1
+extern char **complete_line (char *text, char *line_buffer, int point);
+
extern char *line_completion_function (char *, int, char *, int);
extern char *readline_line_completion_function (char *text, int matches);