lokinet/include/llarp/api/client.hpp

29 lines
402 B
C++
Raw Normal View History

2018-06-23 00:00:44 +00:00
#ifndef LLARP_API_CLIENT_HPP
#define LLARP_API_CLIENT_HPP
#include <string>
namespace llarp
{
namespace api
{
struct ClientPImpl;
struct Client
{
2018-07-13 19:26:28 +00:00
Client(const std::string& name);
2018-06-23 00:00:44 +00:00
~Client();
bool
Start(const std::string& apiURL);
int
Mainloop();
private:
ClientPImpl* m_Impl;
};
} // namespace api
} // namespace llarp
#endif