aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-07 22:36:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-08 16:23:51 +0300
commit9b6086440aa261fc376c8293df2345050658dd2b (patch)
tree8f632c035566a469c9eca32b34659bc48ef6a4b2 /bpkg/database.hxx
parentaa2df902257cb939a36a515e34b0559cd3c24462 (diff)
Allow building build module in multiple configurations if they belong to different configuration clusters
Diffstat (limited to 'bpkg/database.hxx')
-rw-r--r--bpkg/database.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/bpkg/database.hxx b/bpkg/database.hxx
index c9ef590..cfd2645 100644
--- a/bpkg/database.hxx
+++ b/bpkg/database.hxx
@@ -214,7 +214,7 @@ namespace bpkg
//
// Note that we skip dangling links without any warning since they can be
// quite common. Think of a shared host configuration with a bunch of
- // implicitly linked configurations, which are removed and potentially
+ // implicitly linked configurations which are removed and potentially
// recreated later during the host configuration lifetime. Note however,
// that we remove the dangling implicit links during migration (see
// migrate() on details).
@@ -297,6 +297,12 @@ namespace bpkg
linked_databases
dependent_configs (bool sys_rep = false);
+ // Return configurations of the linked cluster which the current
+ // configuration belongs to.
+ //
+ linked_databases
+ cluster_configs (bool sys_rep = false);
+
// The following find_*() functions assume that the main database has been
// created with the pre_attach flag set to true.
//