summaryrefslogtreecommitdiff
path: root/src/ConfDirective.h
diff options
context:
space:
mode:
authorRichard Kettlewell <rjk@greenend.org.uk>2015-12-30 16:13:22 +0000
committerRichard Kettlewell <rjk@greenend.org.uk>2015-12-30 16:13:22 +0000
commit6319150737d2e6ffa187000d4703ace1fc8c43b6 (patch)
treebd46a7e3d473dc469870c8f333627647da7a56f1 /src/ConfDirective.h
parentaf0288e02ad4a411581783c2bfa7e6bafd6c7783 (diff)
Generalize support for vector directives
Diffstat (limited to 'src/ConfDirective.h')
-rw-r--r--src/ConfDirective.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ConfDirective.h b/src/ConfDirective.h
index 823210d..2db5779 100644
--- a/src/ConfDirective.h
+++ b/src/ConfDirective.h
@@ -87,6 +87,12 @@ public:
*/
bool get_boolean(const ConfContext &cc) const;
+ /** @brief Set or extend a vector directive
+ * @param cc Context containing directive
+ * @param conf Configuration value to update
+ */
+ void extend(const ConfContext &cc, std::vector<std::string> &conf) const;
+
/** @brief Act on a directive
* @param cc Context containing directive
*/