diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2020-01-27 21:25:39 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2020-02-05 21:02:08 +0100 |
commit | ab86a1f0c3b86050e65fc5b7ac1e88a00f0d228c (patch) | |
tree | 24f1b79bc9a90846bca31203b306eb4c60a055c1 /include | |
parent | ec402bfaa90cdb52276f5ccc2525e799cb4419d7 (diff) |
Encrypted channels
Diffstat (limited to 'include')
-rw-r--r-- | include/erebos/identity.h | 3 | ||||
-rw-r--r-- | include/erebos/network.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/erebos/identity.h b/include/erebos/identity.h index f57a12e..4fdddab 100644 --- a/include/erebos/identity.h +++ b/include/erebos/identity.h @@ -12,6 +12,9 @@ public: std::optional<std::string> name() const; std::optional<Identity> owner() const; + + Stored<class PublicKey> keyMessage() const; + std::optional<Ref> ref() const; class Builder diff --git a/include/erebos/network.h b/include/erebos/network.h index c29096f..47c7e7a 100644 --- a/include/erebos/network.h +++ b/include/erebos/network.h @@ -10,6 +10,7 @@ public: Server(const Identity &); ~Server(); + struct Peer; private: struct Priv; const std::shared_ptr<Priv> p; |