aboutsummaryrefslogtreecommitdiff
path: root/mod/build-config.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-14 00:37:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-15 20:37:43 +0300
commit5163436b00711318baea4fc0ad43a4de8222354a (patch)
treea05c06693bda84dd9a9b365a50c227126a5ec05f /mod/build-config.hxx
parent2ebf9de408f3fd629126a20b21221e186195813c (diff)
Implement builds page
Diffstat (limited to 'mod/build-config.hxx')
-rw-r--r--mod/build-config.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/build-config.hxx b/mod/build-config.hxx
index 13024dc..6058774 100644
--- a/mod/build-config.hxx
+++ b/mod/build-config.hxx
@@ -10,6 +10,8 @@
#include <libbrep/types.hxx>
#include <libbrep/utility.hxx>
+#include <libbrep/build.hxx>
+
namespace brep
{
// Return pointer to the shared build configurations instance, creating one
@@ -18,6 +20,19 @@ namespace brep
//
shared_ptr<const bbot::build_configs>
shared_build_config (const path&);
+
+ // Return the package configuration build log url. By default the url is to
+ // the operations combined log.
+ //
+ string
+ build_log_url (const string& host, const dir_path& root,
+ const build&,
+ const string* operation = nullptr);
+
+ // Return the package configuration forced rebuild url.
+ //
+ string
+ force_rebuild_url (const string& host, const dir_path& root, const build&);
}
#endif // MOD_BUILD_CONFIG_HXX