2020-01-17 14:22:08 +01:00
|
|
|
#include "common.hpp"
|
2020-02-28 19:44:27 +01:00
|
|
|
#include "util/logging/logger.hpp"
|
2020-01-17 14:22:08 +01:00
|
|
|
|
|
|
|
PYBIND11_MODULE(pyllarp, m)
|
|
|
|
{
|
2020-02-27 22:30:45 +01:00
|
|
|
tooling::RouterHive_Init(m);
|
2020-02-28 03:19:47 +01:00
|
|
|
tooling::RouterEvent_Init(m);
|
2020-06-17 23:42:22 +02:00
|
|
|
llarp::AbstractRouter_Init(m);
|
|
|
|
llarp::PeerDb_Init(m);
|
|
|
|
llarp::PeerStats_Init(m);
|
2020-02-29 23:53:54 +01:00
|
|
|
llarp::RouterID_Init(m);
|
2020-01-17 14:22:08 +01:00
|
|
|
llarp::RouterContact_Init(m);
|
2020-01-17 16:06:08 +01:00
|
|
|
llarp::CryptoTypes_Init(m);
|
|
|
|
llarp::Context_Init(m);
|
2020-02-27 23:05:25 +01:00
|
|
|
llarp::Config_Init(m);
|
2020-03-04 06:57:07 +01:00
|
|
|
llarp::dht::DHTTypes_Init(m);
|
2020-03-03 05:15:18 +01:00
|
|
|
llarp::PathTypes_Init(m);
|
2020-02-29 23:53:54 +01:00
|
|
|
llarp::path::PathHopConfig_Init(m);
|
2020-02-28 17:29:15 +01:00
|
|
|
llarp::handlers::PyHandler_Init(m);
|
|
|
|
llarp::service::Address_Init(m);
|
2020-03-07 02:20:11 +01:00
|
|
|
m.def("EnableDebug", []() { llarp::SetLogLevel(llarp::eLogDebug); });
|
2020-06-08 21:15:54 +02:00
|
|
|
llarp::Logger_Init(m);
|
2020-01-17 14:22:08 +01:00
|
|
|
}
|