summaryrefslogtreecommitdiff
path: root/src/buffer_utils.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-05-10 15:21:49 +1000
committerMaxime Coste <mawww@kakoune.org>2020-05-10 19:30:13 +1000
commit60154300f9235d935e3cfd8e15c2d493fdcfb4ff (patch)
treece3058a83222a1d60edcc7858794f4a6fdb2cee0 /src/buffer_utils.hh
parent2104af07713edc37be5f3df1444bc9a39b6637a7 (diff)
Support piping data to client stdin
Pass the client stdin fd to the server and open a fifo buffer from it. Fixes #3394
Diffstat (limited to 'src/buffer_utils.hh')
-rw-r--r--src/buffer_utils.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh
index 8a9c6d24..5af08e0e 100644
--- a/src/buffer_utils.hh
+++ b/src/buffer_utils.hh
@@ -87,6 +87,8 @@ void write_to_debug_buffer(StringView str);
Vector<String> history_as_strings(const Vector<Buffer::HistoryNode>& history);
Vector<String> undo_group_as_strings(const Buffer::UndoGroup& undo_group);
+String generate_buffer_name(StringView pattern);
+
}
#endif // buffer_utils_hh_INCLUDED