summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2014-12-24 02:15:41 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2014-12-24 02:15:41 +0100
commitc83c2ef64b5a1e4b1dc0102df36687caebb96ff0 (patch)
tree7d0567996c02e9a1ea5909abbab5f68401fd4771 /common/storage.h
parentd80ff84c28c0be626c1df4528741cddf5a55f547 (diff)
downloadsink-c83c2ef64b5a1e4b1dc0102df36687caebb96ff0.tar.gz
sink-c83c2ef64b5a1e4b1dc0102df36687caebb96ff0.zip
unifying buffer, and a better way to implement domain object adapters.
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage.h b/common/storage.h
index 6cfa3d6..6ae7838 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -52,7 +52,7 @@ public:
52 //TODO: row removal 52 //TODO: row removal
53 //TODO: cursor based read 53 //TODO: cursor based read
54 //TODO: query? 54 //TODO: query?
55 bool write(const char *key, size_t keySize, const char *value, size_t valueSize); 55 bool write(void const *key, size_t keySize, void const *value, size_t valueSize);
56 bool write(const std::string &sKey, const std::string &sValue); 56 bool write(const std::string &sKey, const std::string &sValue);
57 void read(const std::string &sKey, 57 void read(const std::string &sKey,
58 const std::function<bool(const std::string &value)> &resultHandler); 58 const std::function<bool(const std::string &value)> &resultHandler);