aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database
blob: c4ace567ae62574e06234caaac2bb084e51ec2a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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>
#include <bpkg/diagnostics>

namespace bpkg
{
  using odb::sqlite::database;
  using odb::sqlite::transaction;

  database
  open (const dir_path& configuration, tracer&, bool create = false);
}

#endif // BPKG_DATABASE