From 8de2253c28d95907436b2e26f0805dd83e85a8ce Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 19 Apr 2013 21:54:11 +0200 Subject: leveldb: /api/value mit server geniertem timestamp --- datastore-leveldb/src/db.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'datastore-leveldb/src/db.h') diff --git a/datastore-leveldb/src/db.h b/datastore-leveldb/src/db.h index c7ed25b..9c4c9fb 100644 --- a/datastore-leveldb/src/db.h +++ b/datastore-leveldb/src/db.h @@ -5,6 +5,11 @@ leveldb::DB *getDB(std::string& name); +bool db_insert(std::string& name, const uint64_t timestamp, std::string& value); + void closeDB(); + +std::string make_key(const uint64_t timestamp); + #endif /*HAVE_DB_H*/ -- cgit v1.2.1