aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/common.hxx
blob: 2a02a12dce499efb3ede3a26de43f34d89020005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// file      : libcommon/common/common.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef LIBCOMMON_COMMON_COMMON_HXX
#define LIBCOMMON_COMMON_COMMON_HXX

#include <memory>  // std::auto_ptr
#include <cstddef> // std::size_t

#include <odb/database.hxx>

#include <common/export.hxx>

LIBCOMMON_EXPORT std::auto_ptr<odb::database>
create_database (int& argc, char* argv[], std::size_t max_connections = 0);

#endif // LIBCOMMON_COMMON_COMMON_HXX