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.
16 lines
395 B
C++
16 lines
395 B
C++
5 years ago
|
#include "common.hpp"
|
||
|
#include <tooling/router_hive.hpp>
|
||
|
|
||
|
namespace tooling
|
||
|
{
|
||
|
void
|
||
|
RouterHive_Init(py::module& mod)
|
||
|
{
|
||
|
using RouterHive_ptr = std::shared_ptr< RouterHive >;
|
||
|
py::class_< RouterHive, RouterHive_ptr >(mod, "RouterHive")
|
||
|
.def(py::init<>())
|
||
|
.def("StartAll", &RouterHive::StartRouters)
|
||
|
.def("StopAll", &RouterHive::StopRouters);
|
||
|
|
||
|
}
|
||
|
}
|