aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-21 11:48:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-22 08:07:05 +0200
commit9e1330b726c5453755bcaffd1b746d5982357861 (patch)
tree90c5bbadb5b5f9f51615013ca9e9a66bd7812750 /bdep/config.hxx
parent2ededcf152a4982e9f3caabdd2c91b6966b619d0 (diff)
Implement config-add and config-create subcommands
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r--bdep/config.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/config.hxx b/bdep/config.hxx
index 4ab8547..dc19ea1 100644
--- a/bdep/config.hxx
+++ b/bdep/config.hxx
@@ -39,6 +39,14 @@ namespace bdep
//
const char*
cmd_config_validate_add (const configuration_add_options&);
+
+ // Validate setting configuration name and/or id if specified.
+ //
+ void
+ cmd_config_validate_add (const configuration_name_options&,
+ const char* what,
+ optional<string>& name,
+ optional<uint64_t> id);
}
#endif // BDEP_CONFIG_HXX