2019-01-05 13:45:05 +00:00
|
|
|
#include <link/iwp_internal.hpp>
|
2019-01-14 21:46:07 +00:00
|
|
|
#include <router/router.hpp>
|
2019-01-05 13:45:05 +00:00
|
|
|
|
|
|
|
namespace llarp
|
|
|
|
{
|
|
|
|
namespace iwp
|
|
|
|
{
|
|
|
|
std::unique_ptr< ILinkLayer >
|
|
|
|
NewServerFromRouter(llarp::Router*)
|
|
|
|
{
|
|
|
|
// TODO: implement me
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
std::unique_ptr< ILinkLayer >
|
|
|
|
NewServer(llarp::Crypto*, const SecretKey&, llarp::GetRCFunc,
|
|
|
|
llarp::LinkMessageHandler, llarp::SessionEstablishedHandler,
|
|
|
|
llarp::SessionRenegotiateHandler, llarp::SignBufferFunc,
|
|
|
|
llarp::TimeoutHandler, llarp::SessionClosedHandler)
|
|
|
|
{
|
|
|
|
// TODO: implement me
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
} // namespace iwp
|
|
|
|
} // namespace llarp
|