void vortex_tunnel_set_resolver ( VortexCtx ctx,
VortexTunnelLocationResolver  resolver,
axlPointer  resolver_data 

Allows to configure a tunnel settings run-time host location resolver handler which is called to translate tunnel settings into the desired values.

Because the library doesn't have a way to figure out how to translate endpoint and profile TUNNEL configuration, the task is delegated to the user space by using a resolver handler.

The handler is executed at the right time to get an appropiate VortexTunnelSettings reference provided a particular tunnel configuration which can be translated.

This method allows to not only translate the endpoint and profile value. It can be used to perform connection redirections, etc.

ctxThe context where the operation will be performed.
resolverThe handler to be executed to resolver TUNNEL settings.
resolver_dataA referece to user defined data to be provided to the resolver handler.

References vortex_ctx_set_data().