aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-configure')
-rw-r--r--bpkg/pkg-configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/pkg-configure b/bpkg/pkg-configure
index e314e52..b042e60 100644
--- a/bpkg/pkg-configure
+++ b/bpkg/pkg-configure
@@ -6,12 +6,21 @@
#define BPKG_PKG_CONFIGURE
#include <bpkg/types>
+#include <bpkg/forward> // transaction, selected_package
#include <bpkg/pkg-configure-options>
namespace bpkg
{
void
pkg_configure (const pkg_configure_options&, cli::scanner& args);
+
+ // Configure the package, update its state, and commit the transaction.
+ //
+ void
+ pkg_configure (const dir_path& configuration,
+ transaction&,
+ const shared_ptr<selected_package>&,
+ const strings& config_vars);
}
#endif // BPKG_PKG_CONFIGURE