Functions
MyQtt IO: MyQtt Library IO abstraction layer

Functions

MyQttIoWaitingType myqtt_io_waiting_get_current (MyQttCtx *ctx)
 Allows to check current I/O waiting mechanism being used at the providec context. More...
 
void myqtt_io_waiting_invoke_dispatch (MyQttCtx *ctx, axlPointer fd_group, MyQttIoDispatchFunc func, int changed, axlPointer user_data)
 Performs automatic dispath, over all activated resources, invoking the provided handler. More...
 
axl_bool myqtt_io_waiting_invoke_have_dispatch (MyQttCtx *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 myqtt_io_waiting_is_available (MyQttIoWaitingType type)
 Allows to check if a particular mechanism is available to be installed. More...
 
void myqtt_io_waiting_set_add_to_fd_group (MyQttCtx *ctx, MyQttIoAddToFdGroup add_to)
 Allows to configure the add socket to fd set operation. More...
 
void myqtt_io_waiting_set_clear_fd_group (MyQttCtx *ctx, MyQttIoClearFdGroup clear)
 Allows to configure the clear handler to be executed while it is required to clear a descriptor set. More...
 
void myqtt_io_waiting_set_create_fd_group (MyQttCtx *ctx, MyQttIoCreateFdGroup create)
 Allows to set current handler that allows to create a fd group that will be used by MyQtt internals to perform IO blocking. More...
 
void myqtt_io_waiting_set_destroy_fd_group (MyQttCtx *ctx, MyQttIoDestroyFdGroup destroy)
 Allows to define the destroy method to be used on the fd_set allocated by calling current configured create handler. More...
 
void myqtt_io_waiting_set_dispatch (MyQttCtx *ctx, MyQttIoDispatch dispatch)
 Allows to configure the dispatch function to be used for the automatic dispatch function. More...
 
void myqtt_io_waiting_set_have_dispatch (MyQttCtx *ctx, MyQttIoHaveDispatch have_dispatch)
 Allows to configure the "have dispatch" function. More...
 
void myqtt_io_waiting_set_is_set_fd_group (MyQttCtx *ctx, MyQttIoIsSetFdGroup is_set)
 Allows to configure the is set operation for the socket on the fd set. More...
 
void myqtt_io_waiting_set_wait_on_fd_group (MyQttCtx *ctx, MyQttIoWaitOnFdGroup wait_on)
 Allows to configure the wait on fd group handler. More...
 
axl_bool myqtt_io_waiting_use (MyQttCtx *ctx, MyQttIoWaitingType type)
 poll(2) system call implementation. More...
 

Detailed Description