diff options
author | Richard Kettlewell <rjk@greenend.org.uk> | 2015-12-30 16:13:22 +0000 |
---|---|---|
committer | Richard Kettlewell <rjk@greenend.org.uk> | 2015-12-30 16:13:22 +0000 |
commit | 6319150737d2e6ffa187000d4703ace1fc8c43b6 (patch) | |
tree | bd46a7e3d473dc469870c8f333627647da7a56f1 /src/ConfDirective.h | |
parent | af0288e02ad4a411581783c2bfa7e6bafd6c7783 (diff) |
Generalize support for vector directives
Diffstat (limited to 'src/ConfDirective.h')
-rw-r--r-- | src/ConfDirective.h | 6 |
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 */ |