]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/command.h
PR python/16699: GDB Python command completion with overriden complete vs. completer...
[thirdparty/binutils-gdb.git] / gdb / command.h
index 4ac3bfb8558157ec95b41c945dd5cb961f778ffe..3b962124c7c078f198440866ee44bdc79ed1859e 100644 (file)
@@ -159,8 +159,16 @@ extern void set_cmd_sfunc (struct cmd_list_element *cmd,
 typedef VEC (char_ptr) *completer_ftype (struct cmd_list_element *,
                                         const char *, const char *);
 
+typedef void completer_ftype_void (struct cmd_list_element *,
+                                  const char *, const char *);
+
 extern void set_cmd_completer (struct cmd_list_element *, completer_ftype *);
 
+/* Set the completer_handle_brkchars callback.  */
+
+extern void set_cmd_completer_handle_brkchars (struct cmd_list_element *,
+                                              completer_ftype_void *);
+
 /* 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,