lokinet/pybind/common.hpp
Thomas Winget 7caa87862e standardize include format and pragma once
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once

Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein.  Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`

The above does not include system/os headers.
2021-03-09 19:01:41 -05:00

84 lines
1.1 KiB
C++

#pragma once
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/functional.h>
#include <unordered_map>
#include <llarp/util/fs.hpp>
namespace py = pybind11;
namespace llarp
{
void
Logger_Init(py::module& mod);
void
Context_Init(py::module& mod);
void
CryptoTypes_Init(py::module& mod);
void
AbstractRouter_Init(py::module& mod);
void
RouterID_Init(py::module& mod);
void
RouterContact_Init(py::module& mod);
void
Config_Init(py::module& mod);
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);
}
namespace handlers
{
void
PyHandler_Init(py::module& mod);
}
namespace service
{
void
Address_Init(py::module& mod);
}
} // namespace llarp
namespace tooling
{
void
RouterHive_Init(py::module& mod);
void
RouterEvent_Init(py::module& mod);
void
HiveContext_Init(py::module& mod);
void
HiveRouter_Init(py::module& mod);
} // namespace tooling