blob: 5e31b008195fb34e65c4a661a2995f2ff5dd55ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef HAVE_DB_H
#define HAVE_DB_H
#include <leveldb/db.h>
leveldb::DB *db_get(std::string& name);
bool db_insert(std::string& name, const uint64_t timestamp, std::string& value);
void db_close();
std::string db_make_key(const uint64_t timestamp);
#endif /*HAVE_DB_H*/
|