From b8677cb17b8c4fdf2af1fcd0ead311b9bf2cfead Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 27 Apr 2013 20:20:44 +0200 Subject: datastore: name refactorings --- datastore-leveldb/src/db.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'datastore-leveldb/src/db.h') 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 *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*/ -- cgit v1.2.1