diff options
author | Ebus-at-dockstar <ebus@dockstar> | 2014-09-18 18:01:01 +0200 |
---|---|---|
committer | Ebus-at-dockstar <ebus@dockstar> | 2014-09-18 18:01:01 +0200 |
commit | ced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4 (patch) | |
tree | 56dd9df62c3adbb6d186930e52a6a8a3fc2a953e /datastore-leveldb/src/db.h | |
parent | 87e143e62d853ec60771141cadb2a6b1294e9de6 (diff) | |
download | ebus-alt-ced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4.tar.gz ebus-alt-ced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4.zip |
add /api/list
Diffstat (limited to 'datastore-leveldb/src/db.h')
-rw-r--r-- | datastore-leveldb/src/db.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/datastore-leveldb/src/db.h b/datastore-leveldb/src/db.h index 5e31b00..ed03d4b 100644 --- a/datastore-leveldb/src/db.h +++ b/datastore-leveldb/src/db.h @@ -2,6 +2,7 @@ #define HAVE_DB_H #include <leveldb/db.h> +#include <list> leveldb::DB *db_get(std::string& name); @@ -9,6 +10,8 @@ bool db_insert(std::string& name, const uint64_t timestamp, std::string& value); void db_close(); +std::list<std::string> * db_list(); + std::string db_make_key(const uint64_t timestamp); #endif /*HAVE_DB_H*/ |