lokinet/include/llarp/service/endpoint.hpp
Jeff Becker 6ad79b97dc
broken
2018-07-09 13:32:11 -04:00

30 lines
598 B
C++

#ifndef LLARP_SERVICE_ENDPOINT_HPP
#define LLARP_SERVICE_ENDPOINT_HPP
#include <llarp/pathbuilder.hpp>
#include <llarp/service/Identity.hpp>
namespace llarp
{
namespace service
{
struct Endpoint
{
Endpoint(const std::string& nickname, llarp_router* r);
~Endpoint();
bool
SetOption(const std::string& k, const std::string& v);
bool
Start();
private:
llarp_router* m_Router;
llarp_pathbuilder_context* m_PathSet;
std::string m_Keyfile;
Identity m_Identity;
};
} // namespace service
} // namespace llarp
#endif