mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
19 lines
427 B
C++
19 lines
427 B
C++
|
#include <boost/property_tree/ptree.hpp>
|
||
|
#include <boost/property_tree/ini_parser.hpp>
|
||
|
#include "Profiling.h"
|
||
|
|
||
|
namespace i2p
|
||
|
{
|
||
|
namespace data
|
||
|
{
|
||
|
RouterProfile::RouterProfile (const IdentHash& identHash):
|
||
|
m_IdentHash (identHash), m_NumTunnelsAgreed (0), m_NumTunnelsDeclined (0)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
std::shared_ptr<RouterProfile> GetProfile (const IdentHash& identHash)
|
||
|
{
|
||
|
return std::make_shared<RouterProfile> (identHash);
|
||
|
}
|
||
|
}
|
||
|
}
|