[#TorController-add_onion_cb] = xref:TorController.adoc[TorController]::add_onion_cb :relfileprefix: ../ :mrdocs: Callback for ADD_ONION result == Synopsis Declared in `<torcontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void add_onion_cb( xref:TorControlConnection.adoc[TorControlConnection]& conn, xref:TorControlReply.adoc[TorControlReply] const& reply, bool pow_was_enabled); ---- == Parameters [cols="1,4"] |=== | Name| Description | *conn* | Connection the reply arrived on. | *reply* | Reply received from Tor. | *pow_was_enabled* | Whether proof‐of‐work defense was requested for the onion service. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#