diff options
author | Aleksi Lindeman <0xdec05eba@gmail.com> | 2018-02-14 22:18:48 +0100 |
---|---|---|
committer | Aleksi Lindeman <0xdec05eba@gmail.com> | 2018-02-14 22:18:55 +0100 |
commit | 67957afb6ba01bcd85f1abd1a50ad2c1aa813c7c (patch) | |
tree | 12d3d015df767fd8ec239dd5c8941e50f20d2ef7 /include/Database.hpp | |
parent | 9c64764acc74b7f52c28110ede556098c7e5f116 (diff) |
Sign messages/verify message signatures
Diffstat (limited to 'include/Database.hpp')
-rw-r--r-- | include/Database.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/Database.hpp b/include/Database.hpp index 0104a6e..e8b35bb 100644 --- a/include/Database.hpp +++ b/include/Database.hpp @@ -12,7 +12,6 @@ namespace odhtdb { - class Group; class LocalUser; class Database @@ -22,8 +21,8 @@ namespace odhtdb ~Database(); void seed(); - void create(const Key &key, Group *primaryAdminGroup); - void add(const Key &key, DataView data, LocalUser *creator); + void create(LocalUser *owner, const Key &key); + void add(LocalUser *owner, const Key &key, DataView data); void commit(); private: void commitStagedCreateObject(const StagedCreateObject &stagedObject); |