From f9b9844eabe29250298f8120fa32a3b98c718454 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Sep 2015 13:46:09 +0200 Subject: Create empty database in cfg-create --- bpkg/database | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 bpkg/database (limited to 'bpkg/database') diff --git a/bpkg/database b/bpkg/database new file mode 100644 index 0000000..820555d --- /dev/null +++ b/bpkg/database @@ -0,0 +1,21 @@ +// file : bpkg/database -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_DATABASE +#define BPKG_DATABASE + +#include + +#include + +namespace bpkg +{ + using odb::sqlite::database; + using odb::sqlite::transaction; + + database + open (const dir_path& configuration, bool create = false); +} + +#endif // BPKG_DATABASE -- cgit v1.1