/usr/include/dballe/db/v6/sqlite/driver.h is in libdballe-dev 7.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #ifndef DBALLE_DB_V6_SQLITE_DRIVER_H
#define DBALLE_DB_V6_SQLITE_DRIVER_H
#include <dballe/db/v6/driver.h>
#include <dballe/sql/fwd.h>
namespace dballe {
namespace db {
namespace v6 {
namespace sqlite {
struct Driver : public v6::Driver
{
dballe::sql::SQLiteConnection& conn;
Driver(dballe::sql::SQLiteConnection& conn);
virtual ~Driver();
std::unique_ptr<v6::Repinfo> create_repinfov6() override;
std::unique_ptr<v6::Station> create_stationv6() override;
std::unique_ptr<v6::LevTr> create_levtrv6() override;
std::unique_ptr<v6::DataV6> create_datav6() override;
std::unique_ptr<v6::AttrV6> create_attrv6() override;
void run_built_query_v6(const v6::QueryBuilder& qb, std::function<void(v6::SQLRecordV6& rec)> dest) override;
void create_tables_v6() override;
void delete_tables_v6() override;
void vacuum_v6() override;
};
}
}
}
}
#endif
|