mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-05 21:20:38 +00:00
29 lines
379 B
C++
29 lines
379 B
C++
|
#ifndef LLARP_API_CLIENT_HPP
|
||
|
#define LLARP_API_CLIENT_HPP
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace api
|
||
|
{
|
||
|
struct ClientPImpl;
|
||
|
|
||
|
struct Client
|
||
|
{
|
||
|
Client();
|
||
|
~Client();
|
||
|
|
||
|
bool
|
||
|
Start(const std::string& apiURL);
|
||
|
|
||
|
int
|
||
|
Mainloop();
|
||
|
|
||
|
private:
|
||
|
ClientPImpl* m_Impl;
|
||
|
};
|
||
|
|
||
|
} // namespace api
|
||
|
} // namespace llarp
|
||
|
#endif
|