aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-25 21:12:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-31 01:10:52 +0300
commitd6a34b68d4667d4b99c1e76d63604a7bc1c9c3dd (patch)
treeb3429ea208e804bdd4b7f80416510e509ff36181 /libbrep/build.hxx
parent94b04d166c1041028571222b9931121b0f7dfded (diff)
Add support for bbot agent authentication
Diffstat (limited to 'libbrep/build.hxx')
-rw-r--r--libbrep/build.hxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/libbrep/build.hxx b/libbrep/build.hxx
index afa96ed..6b58402 100644
--- a/libbrep/build.hxx
+++ b/libbrep/build.hxx
@@ -145,6 +145,8 @@ namespace brep
build (string package_name, version package_version,
string configuration,
string toolchain_name, version toolchain_version,
+ optional<string> agent_fingerprint,
+ optional<string> agent_challenge,
string machine, string machine_summary,
optional<butl::target_triplet> target);
@@ -164,10 +166,16 @@ namespace brep
force_state force;
- // Must present for the built state, may present for the building state.
+ // Must be present for the built state, may be present for the building
+ // state.
//
optional<result_status> status;
+ // May be present only for the building state.
+ //
+ optional<string> agent_fingerprint;
+ optional<string> agent_challenge;
+
// Present only for building and built states.
//
optional<string> machine;