diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2013-04-27 20:20:44 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2013-04-27 20:21:07 +0200 |
commit | b8677cb17b8c4fdf2af1fcd0ead311b9bf2cfead (patch) | |
tree | 473ebaa82a66f86f2a7544f2cfe6567b43c4675a /datastore-leveldb/src/db.h | |
parent | 705af77c2fef7a27150b741cde228e2fe55a029b (diff) | |
download | ebus-alt-b8677cb17b8c4fdf2af1fcd0ead311b9bf2cfead.tar.gz ebus-alt-b8677cb17b8c4fdf2af1fcd0ead311b9bf2cfead.zip |
datastore: name refactorings
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*/ |