diff options
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*/ |