Functions
Valvula IO: Valvula Library IO abstraction layer

Functions

ValvulaIoWaitingType valvula_io_waiting_get_current (ValvulaCtx *ctx)
 Allows to check current I/O waiting mechanism being used at the providec context. More...
 
void valvula_io_waiting_invoke_dispatch (ValvulaCtx *ctx, axlPointer fd_group, ValvulaIoDispatchFunc func, int changed, axlPointer user_data)
 Performs automatic dispath, over all activated resources, invoking the provided handler. More...
 
axl_bool valvula_io_waiting_invoke_have_dispatch (ValvulaCtx *ctx, axlPointer fd_group)
 Allows to check if the current I/O mechanism have automatic dispatch support, that is, the I/O mechanism takes care about invoking the appropiate function if the socket is activated for the registered purpose. More...
 
axl_bool valvula_io_waiting_is_available (ValvulaIoWaitingType type)
 Allows to check if a particular mechanism is available to be installed. More...
 
void valvula_io_waiting_set_add_to_fd_group (ValvulaCtx *ctx, ValvulaIoAddToFdGroup add_to)
 Allows to configure the add socket to fd set operation. More...
 
void valvula_io_waiting_set_clear_fd_group (ValvulaCtx *ctx, ValvulaIoClearFdGroup clear)
 Allows to configure the clear handler to be executed while it is required to clear a descriptor set. More...
 
void valvula_io_waiting_set_create_fd_group (ValvulaCtx *ctx, ValvulaIoCreateFdGroup create)
 Allows to set current handler that allows to create a fd group that will be used by Valvula internals to perform IO blocking. More...
 
void valvula_io_waiting_set_destroy_fd_group (ValvulaCtx *ctx, ValvulaIoDestroyFdGroup destroy)
 Allows to define the destroy method to be used on the fd_set allocated by calling current configured create handler. More...
 
void valvula_io_waiting_set_dispatch (ValvulaCtx *ctx, ValvulaIoDispatch dispatch)
 Allows to configure the dispatch function to be used for the automatic dispatch function. More...
 
void valvula_io_waiting_set_have_dispatch (ValvulaCtx *ctx, ValvulaIoHaveDispatch have_dispatch)
 Allows to configure the "have dispatch" function. More...
 
void valvula_io_waiting_set_is_set_fd_group (ValvulaCtx *ctx, ValvulaIoIsSetFdGroup is_set)
 Allows to configure the is set operation for the socket on the fd set. More...
 
void valvula_io_waiting_set_wait_on_fd_group (ValvulaCtx *ctx, ValvulaIoWaitOnFdGroup wait_on)
 Allows to configure the wait on fd group handler. More...
 
axl_bool valvula_io_waiting_use (ValvulaCtx *ctx, ValvulaIoWaitingType type)
 poll(2) system call implementation. More...
 

Detailed Description