aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/database')
-rw-r--r--bpkg/database21
1 files changed, 21 insertions, 0 deletions
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 <odb/sqlite/database.hxx>
+
+#include <bpkg/types>
+
+namespace bpkg
+{
+ using odb::sqlite::database;
+ using odb::sqlite::transaction;
+
+ database
+ open (const dir_path& configuration, bool create = false);
+}
+
+#endif // BPKG_DATABASE