lokinet/include/llarp/pathbuilder.hpp

22 lines
501 B
C++
Raw Normal View History

2018-07-09 17:32:11 +00:00
#ifndef LLARP_PATHBUILDER_HPP_
#define LLARP_PATHBUILDER_HPP_
2018-06-18 22:03:50 +00:00
#include <llarp/pathbuilder.h>
2018-07-09 17:32:11 +00:00
#include <llarp/router.h>
#include <llarp/pathset.hpp>
2018-06-18 22:03:50 +00:00
struct llarp_pathbuilder_context : public llarp::path::PathSet
2018-06-18 22:03:50 +00:00
{
struct llarp_router* router;
struct llarp_dht_context* dht;
/// construct
2018-06-18 22:03:50 +00:00
llarp_pathbuilder_context(llarp_router* p_router,
2018-07-12 18:21:44 +00:00
struct llarp_dht_context* p_dht, size_t numPaths);
virtual ~llarp_pathbuilder_context(){};
void
BuildOne();
2018-06-18 22:03:50 +00:00
};
#endif