2019-03-29 15:17:49 +00:00
|
|
|
#ifndef LLARP_IWP_HPP
|
|
|
|
#define LLARP_IWP_HPP
|
2019-01-05 13:45:05 +00:00
|
|
|
|
|
|
|
#include <link/server.hpp>
|
2019-08-22 20:53:27 +00:00
|
|
|
#include <iwp/linklayer.hpp>
|
2019-02-11 19:45:42 +00:00
|
|
|
#include <memory>
|
2019-12-03 17:58:53 +00:00
|
|
|
#include <config/key_manager.hpp>
|
2019-02-11 19:45:42 +00:00
|
|
|
|
2019-01-05 13:45:05 +00:00
|
|
|
namespace llarp
|
|
|
|
{
|
|
|
|
namespace iwp
|
|
|
|
{
|
2019-08-22 20:53:27 +00:00
|
|
|
LinkLayer_ptr
|
2019-12-06 17:13:09 +00:00
|
|
|
NewInboundLink(std::shared_ptr< KeyManager > keyManager, GetRCFunc getrc,
|
2019-08-22 20:53:27 +00:00
|
|
|
LinkMessageHandler h, SignBufferFunc sign,
|
|
|
|
SessionEstablishedHandler est,
|
|
|
|
SessionRenegotiateHandler reneg, TimeoutHandler timeout,
|
2019-11-04 18:49:08 +00:00
|
|
|
SessionClosedHandler closed, PumpDoneHandler pumpDone);
|
2019-08-22 20:53:27 +00:00
|
|
|
LinkLayer_ptr
|
2019-12-06 17:13:09 +00:00
|
|
|
NewOutboundLink(std::shared_ptr< KeyManager > keyManager, GetRCFunc getrc,
|
2019-08-22 20:53:27 +00:00
|
|
|
LinkMessageHandler h, SignBufferFunc sign,
|
|
|
|
SessionEstablishedHandler est,
|
|
|
|
SessionRenegotiateHandler reneg, TimeoutHandler timeout,
|
2019-11-04 18:49:08 +00:00
|
|
|
SessionClosedHandler closed, PumpDoneHandler pumpDone);
|
2019-01-05 13:45:05 +00:00
|
|
|
|
|
|
|
} // namespace iwp
|
|
|
|
} // namespace llarp
|
|
|
|
|
|
|
|
#endif
|