summaryrefslogtreecommitdiff
path: root/examples/dte/completion.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dte/completion.h')
-rw-r--r--examples/dte/completion.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/dte/completion.h b/examples/dte/completion.h
new file mode 100644
index 0000000..873e994
--- /dev/null
+++ b/examples/dte/completion.h
@@ -0,0 +1,21 @@
+#ifndef COMPLETION_H
+#define COMPLETION_H
+
+#include "cmdline.h"
+#include "editor.h"
+#include "util/hashmap.h"
+#include "util/macros.h"
+#include "util/ptr-array.h"
+
+void complete_command_next(EditorState *e) NONNULL_ARGS;
+void complete_command_prev(EditorState *e) NONNULL_ARGS;
+void reset_completion(CommandLine *cmdline) NONNULL_ARGS;
+
+void collect_env(EditorState *e, PointerArray *a, const char *prefix) NONNULL_ARGS;
+void collect_normal_aliases(EditorState *e, PointerArray *a, const char *prefix) NONNULL_ARGS;
+void collect_bound_normal_keys(EditorState *e, PointerArray *a, const char *keystr_prefix) NONNULL_ARGS;
+void collect_hl_colors(EditorState *e, PointerArray *a, const char *prefix) NONNULL_ARGS;
+void collect_compilers(EditorState *e, PointerArray *a, const char *prefix) NONNULL_ARGS;
+void collect_hashmap_keys(const HashMap *map, PointerArray *a, const char *prefix) NONNULL_ARGS;
+
+#endif