Defines | Typedefs | Enumerations | Functions

Vortex Tunnel: TUNNEL profile support, general application layer proxy for BEEP

Defines

#define TUNNEL_PROFILE   "http://iana.org/beep/TUNNEL"
 Uri reference to the BEEP TUNNEL profile identifier.

Typedefs

typedef VortexTunnelSettings *(* VortexTunnelLocationResolver )(const char *tunnel_spec, int tunnel_spec_size, axlDoc *tunnel_doc, axlPointer user_data)
 Handler definition for the tunnel location resolution.
typedef struct
_VortexTunnelSettings 
VortexTunnelSettings
 Opaque type representing a proxy configuration used by the Vortex Engine to create a new connection to a remote point through an application layer gateway implementing the TUNNEL profile.

Enumerations

enum  VortexTunnelItem {
  TUNNEL_END_CONF = 1, TUNNEL_FQDN = 2, TUNNEL_PORT = 3, TUNNEL_IP4 = 4,
  TUNNEL_IP6 = 5, TUNNEL_SRV = 6, TUNNEL_URI = 7, TUNNEL_ENDPOINT = 8
}
 

Proxy TUNNEL item configuration.

More...

Functions

axl_bool vortex_tunnel_accept_negotiation (VortexCtx *ctx, VortexOnAcceptedConnection accept_tunnel, axlPointer accept_tunnel_data)
 Activates the required support to accept incoming TUNNEL requests, an application level request to tunnel a BEEP connection.
VortexConnectionvortex_tunnel_new (VortexTunnelSettings *settings, VortexConnectionNew on_connected, axlPointer user_data)
 Creates a new BEEP session to the remote endpoint, using the information provided by the tunnel setting (VortexTunnelSettings).
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.
void vortex_tunnel_settings_add_hop (VortexTunnelSettings *settings,...)
 Allows to configure a new hop to be added to the current proxy configuration.
void vortex_tunnel_settings_free (VortexTunnelSettings *settings)
 Deallocates memory used by the settings created by vortex_tunnel_settings_new.
VortexTunnelSettingsvortex_tunnel_settings_new (VortexCtx *ctx)
 Allows to create a new tunnel setting, a proxy configuration for any BEEP session to be created (VortexConnection).
VortexTunnelSettingsvortex_tunnel_settings_new_from_xml (VortexCtx *ctx, char *content, int size)
 Allows to create a new BEEP proxy connection setting from the content provided, that must be an xml meating the RFC3620 description.
void vortex_tunnel_settings_set_options (VortexTunnelSettings *settings, VortexConnectionOpts *options)
 Allows to configure connection options on the provided tunnel settings object, allowing to modify connection behaviour.