diff options
Diffstat (limited to 'datastore-leveldb/src/db.h')
-rw-r--r-- | datastore-leveldb/src/db.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/datastore-leveldb/src/db.h b/datastore-leveldb/src/db.h index 9c4c9fb..5e31b00 100644 --- a/datastore-leveldb/src/db.h +++ b/datastore-leveldb/src/db.h @@ -3,13 +3,12 @@ #include <leveldb/db.h> -leveldb::DB *getDB(std::string& name); +leveldb::DB *db_get(std::string& name); bool db_insert(std::string& name, const uint64_t timestamp, std::string& value); -void closeDB(); +void db_close(); - -std::string make_key(const uint64_t timestamp); +std::string db_make_key(const uint64_t timestamp); #endif /*HAVE_DB_H*/ |