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