diff options
Diffstat (limited to 'mod/build-config.hxx')
-rw-r--r-- | mod/build-config.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/build-config.hxx b/mod/build-config.hxx index 6058774..b49819d 100644 --- a/mod/build-config.hxx +++ b/mod/build-config.hxx @@ -5,6 +5,8 @@ #ifndef MOD_BUILD_CONFIG_HXX #define MOD_BUILD_CONFIG_HXX +#include <map> + #include <libbbot/build-config.hxx> #include <libbrep/types.hxx> @@ -12,6 +14,8 @@ #include <libbrep/build.hxx> +#include <mod/options.hxx> + namespace brep { // Return pointer to the shared build configurations instance, creating one @@ -21,6 +25,17 @@ namespace brep shared_ptr<const bbot::build_configs> shared_build_config (const path&); + // Map of build bot agent public keys fingerprints to the key file paths. + // + using bot_agent_keys = std::map<string, path>; + + // Return pointer to the shared build bot agent public keys map, creating + // one on the first call. Throw system_error on the underlying openssl or OS + // error. Not thread-safe. + // + shared_ptr<const bot_agent_keys> + shared_bot_agent_keys (const options::openssl_options&, const dir_path&); + // Return the package configuration build log url. By default the url is to // the operations combined log. // |