summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-11-24 13:35:42 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-11-24 13:35:42 +0000
commite340e0ed396609aca7569903d6963aa36acbe5d7 (patch)
tree3c4affc5e27807d60459e86bc218b68b5466f631 /src/buffer.hh
parent8f2c6eb58659bac11014ca0e58de0e5c85a90ff0 (diff)
Forward client name to contexts created for write-all
Fixes #937
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 839b3d62..4db6f32a 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -190,7 +190,8 @@ public:
ValueMap& values() const { return m_values; }
- void run_hook_in_own_context(StringView hook_name, StringView param);
+ void run_hook_in_own_context(StringView hook_name, StringView param,
+ String client_name = "");
void reload(StringView data, timespec fs_timestamp = InvalidTime);