2019-02-11 19:45:42 +00:00
|
|
|
#include <link/iwp.hpp>
|
2019-01-05 13:45:05 +00:00
|
|
|
#include <link/iwp_internal.hpp>
|
|
|
|
|
|
|
|
namespace llarp
|
|
|
|
{
|
|
|
|
namespace iwp
|
|
|
|
{
|
|
|
|
std::unique_ptr< ILinkLayer >
|
2019-02-11 19:45:42 +00:00
|
|
|
NewServerFromRouter(AbstractRouter*)
|
2019-01-05 13:45:05 +00:00
|
|
|
{
|
|
|
|
// TODO: implement me
|
|
|
|
return nullptr;
|
|
|
|
}
|
2019-02-11 19:45:42 +00:00
|
|
|
|
2019-01-05 13:45:05 +00:00
|
|
|
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
|