summaryrefslogtreecommitdiff
path: root/datastore-leveldb/src/db.h
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2013-04-19 21:54:11 +0200
committerYves Fischer <yvesf-git@xapek.org>2013-04-19 21:54:11 +0200
commit8de2253c28d95907436b2e26f0805dd83e85a8ce (patch)
treec05a4792108752db15c0429655271680a02aa853 /datastore-leveldb/src/db.h
parentc2d48c0082cdeb38eff3a3f8eb68ae7758fa4439 (diff)
downloadebus-alt-8de2253c28d95907436b2e26f0805dd83e85a8ce.tar.gz
ebus-alt-8de2253c28d95907436b2e26f0805dd83e85a8ce.zip
leveldb: /api/value mit server geniertem timestamp
Diffstat (limited to 'datastore-leveldb/src/db.h')
-rw-r--r--datastore-leveldb/src/db.h5
1 files changed, 5 insertions, 0 deletions
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*/