lokinet/pybind/module.cpp

20 lines
536 B
C++
Raw Normal View History

2020-01-17 13:22:08 +00:00
#include "common.hpp"
2020-02-28 18:44:27 +00:00
#include "util/logging/logger.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);
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-02-27 22:05:25 +00:00
llarp::Config_Init(m);
llarp::dht::DHTTypes_Init(m);
llarp::PathTypes_Init(m);
llarp::path::PathHopConfig_Init(m);
2020-02-28 16:29:15 +00:00
llarp::handlers::PyHandler_Init(m);
llarp::service::Address_Init(m);
2020-03-07 01:20:11 +00:00
m.def("EnableDebug", []() { llarp::SetLogLevel(llarp::eLogDebug); });
2020-01-17 13:22:08 +00:00
}