|
|
@ -44,6 +44,7 @@ namespace client |
|
|
|
const char I2P_CONTROL_I2PCONTROL_PORT[] = "i2pcontrol.port"; |
|
|
|
const char I2P_CONTROL_I2PCONTROL_PORT[] = "i2pcontrol.port"; |
|
|
|
|
|
|
|
|
|
|
|
// RouterInfo requests
|
|
|
|
// RouterInfo requests
|
|
|
|
|
|
|
|
const char I2P_CONTROL_ROUTER_INFO_UPTIME[] = "i2p.router.uptime"; |
|
|
|
const char I2P_CONTROL_ROUTER_INFO_NETDB_KNOWNPEERS[] = "i2p.router.netdb.knownpeers"; |
|
|
|
const char I2P_CONTROL_ROUTER_INFO_NETDB_KNOWNPEERS[] = "i2p.router.netdb.knownpeers"; |
|
|
|
const char I2P_CONTROL_ROUTER_INFO_NETDB_ACTIVEPEERS[] = "i2p.router.netdb.activepeers"; |
|
|
|
const char I2P_CONTROL_ROUTER_INFO_NETDB_ACTIVEPEERS[] = "i2p.router.netdb.activepeers"; |
|
|
|
const char I2P_CONTROL_ROUTER_INFO_TUNNELS_PARTICIPATING[] = "i2p.router.net.tunnels.participating"; |
|
|
|
const char I2P_CONTROL_ROUTER_INFO_TUNNELS_PARTICIPATING[] = "i2p.router.net.tunnels.participating"; |
|
|
@ -94,6 +95,7 @@ namespace client |
|
|
|
|
|
|
|
|
|
|
|
// RouterInfo
|
|
|
|
// RouterInfo
|
|
|
|
typedef void (I2PControlService::*RouterInfoRequestHandler)(std::map<std::string, std::string>& results); |
|
|
|
typedef void (I2PControlService::*RouterInfoRequestHandler)(std::map<std::string, std::string>& results); |
|
|
|
|
|
|
|
void UptimeHandler (std::map<std::string, std::string>& results); |
|
|
|
void NetDbKnownPeersHandler (std::map<std::string, std::string>& results); |
|
|
|
void NetDbKnownPeersHandler (std::map<std::string, std::string>& results); |
|
|
|
void NetDbActivePeersHandler (std::map<std::string, std::string>& results); |
|
|
|
void NetDbActivePeersHandler (std::map<std::string, std::string>& results); |
|
|
|
void TunnelsParticipatingHandler (std::map<std::string, std::string>& results); |
|
|
|
void TunnelsParticipatingHandler (std::map<std::string, std::string>& results); |
|
|
|