| 448 | } |
| 449 | |
| 450 | void I2PControlHandlers::BOBInfoHandler (std::ostringstream& results) |
| 451 | { |
| 452 | boost::property_tree::ptree pt; |
| 453 | auto bob = i2p::client::context.GetBOBCommandChannel (); |
| 454 | if (bob) |
| 455 | { |
| 456 | /* TODO more info */ |
| 457 | pt.put("enabled", true); |
| 458 | } |
| 459 | else |
| 460 | pt.put("enabled", false); |
| 461 | |
| 462 | InsertParam (results, "BOB", pt); |
| 463 | } |
| 464 | |
| 465 | void I2PControlHandlers::I2CPInfoHandler (std::ostringstream& results) |
| 466 | { |
nothing calls this directly
no test coverage detected