TorController::add_onion_cb

Callback for ADD_ONION result

Synopsis

Declared in <torcontrol.h>

void
add_onion_cb(
    TorControlConnection& conn,
    TorControlReply const& reply,
    bool pow_was_enabled);

Parameters

NameDescription
connConnection the reply arrived on.
replyReply received from Tor.
pow_was_enabledWhether proof-of-work defense was requested for the onion service.