aboutsummaryrefslogtreecommitdiff
path: root/include/Database.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-02-14 22:18:48 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:12 +0200
commit40d94ad83f74753b71f33b58be8664bb21200219 (patch)
tree7ebe59b3e9a8872cf4c3c49f14f564827810a1e3 /include/Database.hpp
parent7d9b97b437252df8a481816d50b0fa8587fa69c9 (diff)
Sign messages/verify message signatures
Diffstat (limited to 'include/Database.hpp')
-rw-r--r--include/Database.hpp5
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);