Typedefs | Enumerations | Functions
Vortex External API: support for BEEP connections over external technologies

Typedefs

typedef VORTEX_SOCKET(* VortexExternalOnAccept )(VortexCtx *ctx, VortexConnection *listener, VORTEX_SOCKET _listener_socket, axlPointer on_accept_data)
 Configures the handler that will be called to accept the incoming socket on the provided listener. More...
 
typedef void(* VortexExternalOnPrepare )(VortexCtx *ctx, VortexConnection *conn, axlPointer user_data, axlPointer user_data2)
 On prepare handler, a handler called after the connection (VortexConnection) was created and before any operation is done with the connection. More...
 
typedef struct _VortexExternalSetup VortexExternalSetup
 Connection setup object. More...
 

Enumerations

enum  VortexExternalConfItem {
  VORTEX_EXTERNAL_CONF_MUTEX_IO = 1, VORTEX_EXTERNAL_CONF_HOST = 2, VORTEX_EXTERNAL_CONF_PORT = 3, VORTEX_EXTERNAL_ON_PREPARE_HANDLER = 4,
  VORTEX_EXTERNAL_ON_PREPARE_USER_DATA = 5, VORTEX_EXTERNAL_ON_PREPARE_USER_DATA2 = 6
}
 Configurations allowed to be set on VortexExternalSetup. More...
 

Functions

VortexConnectionvortex_external_connection_new (VortexCtx *ctx, VORTEX_SOCKET _session, VortexSendHandler _send_handler, VortexReceiveHandler _received_handler, VortexExternalSetup *setup, VortexConnectionNew on_connected, axlPointer user_data)
 Creates a new BEEP connection to a remote BEEP server using a session that is already created and a set of handlers to do the I/O. More...
 
VortexConnectionvortex_external_listener_new (VortexCtx *ctx, VORTEX_SOCKET _session, VortexSendHandler _send_handler, VortexReceiveHandler _received_handler, VortexExternalSetup *setup, VortexExternalOnAccept on_accept_handler, axlPointer on_accept_data)
 Allows to create a new BEEP listener accepting connections over External/unknown transport. More...
 
void vortex_external_setup_conf (VortexExternalSetup *setup, VortexExternalConfItem item, axlPointer value)
 Allows to configure setup object. More...
 
VortexExternalSetupvortex_external_setup_new (VortexCtx *ctx)
 Allows to create a setup object to be used on a VortexConnection external. More...
 
axl_bool vortex_external_setup_ref (VortexExternalSetup *setup)
 Increase reference counting. More...
 
void vortex_external_setup_unref (VortexExternalSetup *setup)
 Decrease reference counting. More...
 

Detailed Description