lokinet/include/llarp/messages/link_intro.hpp

28 lines
485 B
C++
Raw Normal View History

2018-06-01 14:08:54 +00:00
#ifndef LLARP_MESSAGES_LINK_INTRO_HPP
#define LLARP_MESSAGES_LINK_INTRO_HPP
#include <llarp/link_message.hpp>
namespace llarp
{
struct LinkIntroMessage : public ILinkMessage
{
2018-06-06 12:46:26 +00:00
LinkIntroMessage(llarp_rc* rc) : ILinkMessage(), RC(rc)
2018-06-01 14:08:54 +00:00
{
}
~LinkIntroMessage();
llarp_rc* RC;
bool
DecodeKey(llarp_buffer_t key, llarp_buffer_t* buf);
bool
BEncode(llarp_buffer_t* buf) const;
bool
HandleMessage(llarp_router* router) const;
};
}
#endif