* cli/cli-decode.c (set_cmd_completer): New function.
[deliverable/binutils-gdb.git] / gdb / cli / cli-decode.h
index e4b7c5566ad8805f0accfd5d5a346f95f4e92a92..51ca78107933eceedc465fa949672f32325d44f7 100644 (file)
@@ -286,6 +286,9 @@ extern void set_cmd_sfunc (struct cmd_list_element *cmd,
                           void (*sfunc) (char *args, int from_tty,
                                          struct cmd_list_element * c));
 
+extern void set_cmd_completer (struct cmd_list_element *cmd,
+                              char **(*completer) (char *text, char *word));
+
 /* HACK: cagney/2002-02-23: Code, mostly in tracepoints.c, grubs
    around in cmd objects to test the value of the commands sfunc().  */
 extern int cmd_cfunc_eq (struct cmd_list_element *cmd,
This page took 0.024924 seconds and 4 git commands to generate.