2020-01-17 13:22:08 +00:00
|
|
|
#pragma once
|
|
|
|
#include <pybind11/pybind11.h>
|
2020-02-28 02:19:47 +00:00
|
|
|
#include <pybind11/stl.h>
|
2020-02-28 18:44:27 +00:00
|
|
|
#include <pybind11/functional.h>
|
2020-01-17 13:22:08 +00:00
|
|
|
|
2020-02-28 09:50:33 +00:00
|
|
|
#include <unordered_map>
|
|
|
|
|
2020-06-08 19:15:54 +00:00
|
|
|
#include <util/fs.hpp>
|
|
|
|
|
2020-01-17 13:22:08 +00:00
|
|
|
namespace py = pybind11;
|
|
|
|
|
|
|
|
namespace llarp
|
|
|
|
{
|
2020-06-08 19:15:54 +00:00
|
|
|
void
|
|
|
|
Logger_Init(py::module& mod);
|
|
|
|
|
2020-01-17 13:22:08 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
Context_Init(py::module& mod);
|
2020-01-17 13:22:08 +00:00
|
|
|
|
2020-01-17 15:06:08 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
CryptoTypes_Init(py::module& mod);
|
2020-01-17 15:06:08 +00:00
|
|
|
|
2020-06-17 21:42:22 +00:00
|
|
|
void
|
|
|
|
AbstractRouter_Init(py::module& mod);
|
|
|
|
|
2020-02-29 22:53:54 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
RouterID_Init(py::module& mod);
|
2020-02-29 22:53:54 +00:00
|
|
|
|
2020-01-17 13:22:08 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
RouterContact_Init(py::module& mod);
|
2020-01-17 13:22:08 +00:00
|
|
|
|
2020-02-27 22:05:25 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
Config_Init(py::module& mod);
|
2020-02-27 22:05:25 +00:00
|
|
|
|
2020-03-03 04:15:18 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
PathTypes_Init(py::module& mod);
|
2020-03-03 04:15:18 +00:00
|
|
|
|
2020-06-17 21:42:22 +00:00
|
|
|
void
|
|
|
|
PeerDb_Init(py::module& mod);
|
|
|
|
|
|
|
|
void
|
|
|
|
PeerStats_Init(py::module& mod);
|
|
|
|
|
2020-03-04 05:57:07 +00:00
|
|
|
namespace dht
|
|
|
|
{
|
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
DHTTypes_Init(py::module& mod);
|
2020-03-04 05:57:07 +00:00
|
|
|
}
|
|
|
|
|
2020-02-29 22:53:54 +00:00
|
|
|
namespace path
|
|
|
|
{
|
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
PathHopConfig_Init(py::module& mod);
|
2020-02-29 22:53:54 +00:00
|
|
|
}
|
|
|
|
|
2020-02-28 16:29:15 +00:00
|
|
|
namespace handlers
|
|
|
|
{
|
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
PyHandler_Init(py::module& mod);
|
2020-02-28 16:29:15 +00:00
|
|
|
}
|
|
|
|
|
2020-03-07 01:20:11 +00:00
|
|
|
namespace service
|
2020-02-28 16:29:15 +00:00
|
|
|
{
|
2020-03-07 01:20:11 +00:00
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
Address_Init(py::module& mod);
|
2020-02-28 16:29:15 +00:00
|
|
|
}
|
|
|
|
|
2020-01-17 13:22:08 +00:00
|
|
|
} // namespace llarp
|
2020-02-27 21:30:45 +00:00
|
|
|
|
|
|
|
namespace tooling
|
|
|
|
{
|
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
RouterHive_Init(py::module& mod);
|
2020-02-28 02:19:47 +00:00
|
|
|
|
|
|
|
void
|
2020-04-07 18:38:56 +00:00
|
|
|
RouterEvent_Init(py::module& mod);
|
2020-07-02 15:40:38 +00:00
|
|
|
|
|
|
|
void
|
|
|
|
HiveContext_Init(py::module& mod);
|
|
|
|
|
|
|
|
void
|
|
|
|
HiveRouter_Init(py::module& mod);
|
2020-03-07 01:20:11 +00:00
|
|
|
} // namespace tooling
|