summaryrefslogtreecommitdiff
path: root/src/main/search-replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/search-replace.h')
-rw-r--r--src/main/search-replace.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/search-replace.h b/src/main/search-replace.h
new file mode 100644
index 0000000..d0b2012
--- /dev/null
+++ b/src/main/search-replace.h
@@ -0,0 +1,14 @@
+struct commands;
+
+/**
+ * Abort a replace currently in progress.
+ */
+void abort_replace();
+
+/**
+ * Register search and replace commands
+ *
+ * @param [in] commands Command registry to register search and
+ * replace commands in.
+ */
+void register_search_replace_commands(struct commands *commands);