aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/machine.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent/machine.hxx')
-rw-r--r--bbot/agent/machine.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/bbot/agent/machine.hxx b/bbot/agent/machine.hxx
index 44c7480..9a47d12 100644
--- a/bbot/agent/machine.hxx
+++ b/bbot/agent/machine.hxx
@@ -83,7 +83,14 @@ namespace bbot
const machine_manifest&,
const optional<string>& mac,
const string& br_iface,
- uint16_t tftp_port);
+ uint16_t tftp_port,
+ bool pub_vnc);
+
+ // Return the machine's public or private VNC session endpoint in the
+ // '<ip>:<port>' form.
+ //
+ string
+ machine_vnc (bool pub_vnc);
}
#endif // BBOT_AGENT_MACHINE_HXX