lokinet/pybind/common.hpp

84 lines
1.1 KiB
C++
Raw Permalink Normal View History

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