Vortex Handlers: Handlers used across Vortex Library for async notifications.


Typedefs

typedef void(* VortexConnectionNew )(VortexConnection *connection, gpointer user_data)
 Async notification for connection creation process.
typedef void(* VortexConnectionOnClose )(VortexConnection *connection)
 Allows to set a handler that will be called when a connection is about being closed.
typedef void(* VortexConnectionOnPreRead )(VortexConnection *connection)
 Pre read handler definition.
typedef void(* VortexIoAddToFdGroup )(gint fds, gpointer fd_group)
 IO handler definition to perform the "add to" the fd set operation.
typedef void(* VortexIoClearFdGroup )(gpointer fd_set)
 IO handler definition to allow defining the method to be invoked while clearing a fd set.
typedef gpointer(* VortexIoCreateFdGroup )()
 IO handler definition to allow defining the method to be invoked while createing a new fd set.
typedef void(* VortexIoDestroyFdGroup )(gpointer fd_set)
 IO handler definition to allow defining the method to be invoked while destroying a fd set.
typedef gboolean(* VortexIoIsSetFdGroup )(gint fds, gpointer fd_group)
 IO handler definition to perform the "is set" the fd set operation.
typedef gint(* VortexIoWaitOnFdGroup )(gpointer fd_group, gint max_fds, VortexIoWaitingFor wait_to)
 IO handler definition to allow defining the method to be used while performing a IO blocking wait, by default implemented by the IO "select" call.
typedef void(* VortexListenerReady )(gchar *host, gint port, VortexStatus status, gchar *message, gpointer user_data)
 Async notification for listener creation.
typedef void(* VortexOnChannelCreated )(gint channel_num, VortexChannel *channel, gpointer user_data)
 Async notifier for channel creation process.
typedef void(* VortexOnChannelPoolCreated )(VortexChannelPool *pool, gpointer user_data)
 Async notifier for Vortex Channel Pool creation.
typedef gboolean(* VortexOnCloseChannel )(gint channel_num, VortexConnection *connection, gpointer user_data)
 Async notification for incoming close channel petition.
typedef void(* VortexOnClosedNotification )(gint channel_num, gboolean was_closed, gchar *code, gchar *msg)
 Async notifier for the channel close process.
typedef void(* VortexOnFrameReceived )(VortexChannel *channel, VortexConnection *connection, VortexFrame *frame, gpointer user_data)
 Async notifier for frame received event.
typedef gboolean(* VortexOnStartChannel )(gint channel_num, VortexConnection *connection, gpointer user_data)
 Async notification for start channel message received for a given profile.
typedef gboolean(* VortexOnStartChannelExtended )(gchar *profile, gint channel_num, VortexConnection *connection, gchar *serverName, gchar *profile_content, gchar **profile_content_reply, VortexEncoding encoding, gpointer user_data)
 Channel start received handler with support for extended attributes.
typedef gint(* VortexReceiveHandler )(VortexConnection *connection, gchar *buffer, gint buffer_len)
 Defines the readers handlers used to actually received data from the underlying socket descriptor.
typedef gboolean(* VortexSaslAuthAnonymous )(VortexConnection *connection, const gchar *anonymous_token)
 Asynchronous notification to enable user space to accept or deny anonymous authentication for SASL ANONYMOUS profile.
typedef gchar *(* VortexSaslAuthCramMd5 )(VortexConnection *connection, const gchar *auth_id)
 Asynchronous notification to enable user space code to validate SASL CRAM MD5 request received.
typedef gchar *(* VortexSaslAuthDigestMd5 )(VortexConnection *connection, const gchar *auth_id, const gchar *authorization_id, const gchar *realm)
 Asynchronous notification to enable user space to validate SASL DIGEST MD5 received requests.
typedef gboolean(* VortexSaslAuthExternal )(VortexConnection *connection, const gchar *authorization_id)
 Asynchronous notification to enable user space to accept or deny authentication for SASL EXTERNAL profile.
typedef void(* VortexSaslAuthNotify )(VortexConnection *connection, VortexStatus status, gchar *status_message, gpointer user_data)
 Async notifications for SASL auth process.
typedef gboolean(* VortexSaslAuthPlain )(VortexConnection *connection, const gchar *auth_id, const gchar *authorization_id, const gchar *password)
 Asynchronous notification to enable user space code to validate SASL PLAIN request received.
typedef gint(* VortexSendHandler )(VortexConnection *connection, gchar *buffer, gint buffer_len)
 Defines the writers handlers used to actually send data through the underlaying socket descriptor.
typedef gboolean(* VortexTlsAcceptQuery )(VortexConnection *connection, gchar *serverName)
 Handler definition for those function used to configure if a given TLS request should be accepted or denied.
typedef void(* VortexTlsActivation )(VortexConnection *connection, VortexStatus status, gchar *status_message, gpointer user_data)
 Async notifications for TLS activation.
typedef gchar *(* VortexTlsCertificateFileLocator )(VortexConnection *connection, gchar *serverName)
 Handler definition for those function allowing to locate the certificate file to be used while enabling TLS support.
typedef gchar *(* VortexTlsPrivateKeyFileLocator )(VortexConnection *connection, gchar *serverName)
 Handler definition for those function allowing to locate the private key file to be used while enabling TLS support.
typedef void(* VortexXmlRpcBootNotify )(VortexChannel *booted_channel, VortexStatus status, gchar *message, gpointer user_data)
 Async notification handler for the XML-RPC channel boot.
typedef XmlRpcMethodResponse *(* VortexXmlRpcServiceDispatch )(VortexChannel *channel, XmlRpcMethodCall *method_call, gpointer user_data)
 Async handler to process all incoming service invocation through XML-RPC.
typedef gboolean(* VortexXmlRpcValidateResource )(VortexConnection *connection, gint channel_number, gchar *serverName, gchar *resource_path)
 This async handler allows to control how is accepted XML-RPC initial boot channel based on a particular resource.
typedef void(* XmlRpcInvokeNotify )(VortexChannel *channel, XmlRpcMethodResponse *response, gpointer user_data)
 Async method response notifier.