diff options
Diffstat (limited to 'node/node.hpp')
| -rw-r--r-- | node/node.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/node/node.hpp b/node/node.hpp index a143359..ea73121 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -13,6 +13,7 @@ #include <boost/asio/io_service.hpp> #include <list> +#include <string> /*! * \file @@ -86,12 +87,12 @@ class Node void handle_node_prepost(cmix_proto::PrePost const& prepost); void handle_node_message(cmix_proto::CMixMessage message); - void handle_client_keyexchange(ClientConnections::key_type handle, cmix_proto::KeyExchange ke); - void handle_client_bye(ClientConnections::key_type handle, cmix_proto::Bye); + void handle_client_keyexchange(ClientConnections::key_type handle, cmix_proto::KeyExchange const& ke); + void handle_client_bye(ClientConnections::key_type handle, cmix_proto::Bye const&); void handle_client_message(ClientConnections::key_type handle, cmix_proto::CMixMessage message); - void handle_imanode(Purgatory::iterator handle); - void handle_imaclient(Purgatory::iterator handle, cmix_proto::ImAClient c); + void handle_imanode(Purgatory::iterator handle, cmix_proto::ImANode const&); + void handle_imaclient(Purgatory::iterator handle, cmix_proto::ImAClient const& c); void handle_message(Purgatory::iterator handle, cmix_proto::CMixMessage message); public: |
