From a8cd2ecf7387d7bbe16808ca0c7acdb04a4909cb Mon Sep 17 00:00:00 2001 From: Ebus-at-dockstar Date: Sat, 26 Jul 2014 19:55:43 +0200 Subject: Revert "embed xexpr-path" restore datastore-leveldb and other stuff This reverts commit f6675ccdd7a5997def3c4656f0e2c5dbbbed1fc8. --- datastore-leveldb/src/db.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 datastore-leveldb/src/db.h (limited to 'datastore-leveldb/src/db.h') diff --git a/datastore-leveldb/src/db.h b/datastore-leveldb/src/db.h new file mode 100644 index 0000000..5e31b00 --- /dev/null +++ b/datastore-leveldb/src/db.h @@ -0,0 +1,14 @@ +#ifndef HAVE_DB_H +#define HAVE_DB_H + +#include + +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*/ -- cgit v1.2.1