2020-01-17 13:22:08 +00:00
|
|
|
#include "common.hpp"
|
2023-10-24 13:18:03 +00:00
|
|
|
|
2022-07-19 18:22:38 +00:00
|
|
|
#include <llarp/util/logging.hpp>
|
2020-01-17 13:22:08 +00:00
|
|
|
|
|
|
|
PYBIND11_MODULE(pyllarp, m)
|
|
|
|
{
|
2020-02-27 21:30:45 +00:00
|
|
|
tooling::RouterHive_Init(m);
|
2020-02-28 02:19:47 +00:00
|
|
|
tooling::RouterEvent_Init(m);
|
2023-09-15 14:55:32 +00:00
|
|
|
llarp::Router_Init(m);
|
2020-07-02 15:40:38 +00:00
|
|
|
tooling::HiveRouter_Init(m);
|
2020-06-17 21:42:22 +00:00
|
|
|
llarp::PeerDb_Init(m);
|
|
|
|
llarp::PeerStats_Init(m);
|
2020-02-29 22:53:54 +00:00
|
|
|
llarp::RouterID_Init(m);
|
2020-01-17 13:22:08 +00:00
|
|
|
llarp::RouterContact_Init(m);
|
2020-01-17 15:06:08 +00:00
|
|
|
llarp::CryptoTypes_Init(m);
|
|
|
|
llarp::Context_Init(m);
|
2020-07-02 15:40:38 +00:00
|
|
|
tooling::HiveContext_Init(m);
|
2020-02-27 22:05:25 +00:00
|
|
|
llarp::Config_Init(m);
|
2020-03-04 05:57:07 +00:00
|
|
|
llarp::dht::DHTTypes_Init(m);
|
2020-03-03 04:15:18 +00:00
|
|
|
llarp::PathTypes_Init(m);
|
2020-02-29 22:53:54 +00:00
|
|
|
llarp::path::PathHopConfig_Init(m);
|
2020-02-28 16:29:15 +00:00
|
|
|
llarp::handlers::PyHandler_Init(m);
|
|
|
|
llarp::service::Address_Init(m);
|
2022-07-19 18:22:38 +00:00
|
|
|
m.def("EnableDebug", []() { llarp::log::reset_level(llarp::log::Level::debug); });
|
2020-06-08 19:15:54 +00:00
|
|
|
llarp::Logger_Init(m);
|
2020-01-17 13:22:08 +00:00
|
|
|
}
|