summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h
index 55688d4..83c307c 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -23,6 +23,9 @@ public:
23 bool startTransaction(AccessMode mode = ReadWrite); 23 bool startTransaction(AccessMode mode = ReadWrite);
24 bool commitTransaction(); 24 bool commitTransaction();
25 void abortTransaction(); 25 void abortTransaction();
26 //TODO: row removal
27 //TODO: cursor based read
28 //TODO: query?
26 bool write(const char *key, size_t keySize, const char *value, size_t valueSize); 29 bool write(const char *key, size_t keySize, const char *value, size_t valueSize);
27 bool write(const std::string &sKey, const std::string &sValue); 30 bool write(const std::string &sKey, const std::string &sValue);
28 void read(const std::string &sKey, 31 void read(const std::string &sKey,