mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
439 B
C++
32 lines
439 B
C++
#ifndef LLARP_RPC_HPP
|
|
#define LLARP_RPC_HPP
|
|
#include <llarp/time.h>
|
|
#include <llarp/ev.h>
|
|
#include <string>
|
|
|
|
// forward declare
|
|
struct llarp_router;
|
|
|
|
namespace llarp
|
|
{
|
|
namespace rpc
|
|
{
|
|
struct ServerImpl;
|
|
|
|
struct Server
|
|
{
|
|
Server(llarp_router* r);
|
|
~Server();
|
|
|
|
bool
|
|
Start(const std::string& bindaddr);
|
|
|
|
private:
|
|
ServerImpl* m_Impl;
|
|
};
|
|
|
|
} // namespace rpc
|
|
} // namespace llarp
|
|
|
|
#endif
|