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.
20 lines
441 B
C++
20 lines
441 B
C++
6 years ago
|
#ifndef LLARP_PATHBUILDER_HPP_
|
||
|
#define LLARP_PATHBUILDER_HPP_
|
||
6 years ago
|
#include <llarp/pathbuilder.h>
|
||
6 years ago
|
#include <llarp/router.h>
|
||
|
#include <llarp/pathset.hpp>
|
||
6 years ago
|
|
||
6 years ago
|
struct llarp_pathbuilder_context : public llarp::path::PathSet
|
||
6 years ago
|
{
|
||
|
struct llarp_router* router;
|
||
|
struct llarp_dht_context* dht;
|
||
6 years ago
|
/// construct
|
||
6 years ago
|
llarp_pathbuilder_context(llarp_router* p_router,
|
||
|
struct llarp_dht_context* p_dht);
|
||
6 years ago
|
|
||
|
void
|
||
|
BuildOne();
|
||
6 years ago
|
};
|
||
|
|
||
|
#endif
|