|
|
|
@ -36,6 +36,7 @@ namespace client
@@ -36,6 +36,7 @@ namespace client
|
|
|
|
|
|
|
|
|
|
// RouterInfo requests
|
|
|
|
|
const char I2P_CONTROL_ROUTER_INFO_NETDB_KNOWNPEERS[] = "i2p.router.netdb.knownpeers"; |
|
|
|
|
const char I2P_CONTROL_ROUTER_INFO_TUNNELS_PARTICIPATING[] = "i2p.router.net.tunnels.participating"; |
|
|
|
|
|
|
|
|
|
// RouterManager requests
|
|
|
|
|
const char I2P_CONTROL_ROUTER_MANAGER_SHUTDOWN[] = "Shutdown"; |
|
|
|
@ -78,6 +79,7 @@ namespace client
@@ -78,6 +79,7 @@ namespace client
|
|
|
|
|
// RouterInfo
|
|
|
|
|
typedef void (I2PControlService::*RouterInfoRequestHandler)(std::map<std::string, std::string>& results); |
|
|
|
|
void NetDbKnownPeersHandler (std::map<std::string, std::string>& results); |
|
|
|
|
void TunnelsParticipatingHandler (std::map<std::string, std::string>& results); |
|
|
|
|
|
|
|
|
|
// RouterManager
|
|
|
|
|
typedef void (I2PControlService::*RouterManagerRequestHandler)(std::map<std::string, std::string>& results); |
|
|
|
|