Functions
extDns IO: extDns Library IO abstraction layer

Functions

extDnsIoWaitingType ext_dns_io_waiting_get_current (extDnsCtx *ctx)
 Allows to check current I/O waiting mechanism being used at the providec context. More...
 
void ext_dns_io_waiting_invoke_dispatch (extDnsCtx *ctx, axlPointer fd_group, extDnsIoDispatchFunc func, int changed, axlPointer user_data)
 Performs automatic dispath, over all activated resources, invoking the provided handler. More...
 
axl_bool ext_dns_io_waiting_invoke_have_dispatch (extDnsCtx *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 ext_dns_io_waiting_is_available (extDnsIoWaitingType type)
 Allows to check if a particular mechanism is available to be installed. More...
 
void ext_dns_io_waiting_set_add_to_fd_group (extDnsCtx *ctx, extDnsIoAddToFdGroup add_to)
 Allows to configure the add socket to fd set operation. More...
 
void ext_dns_io_waiting_set_clear_fd_group (extDnsCtx *ctx, extDnsIoClearFdGroup clear)
 Allows to configure the clear handler to be executed while it is required to clear a descriptor set. More...
 
void ext_dns_io_waiting_set_create_fd_group (extDnsCtx *ctx, extDnsIoCreateFdGroup create)
 Allows to set current handler that allows to create a fd group that will be used by extDns internals to perform IO blocking. More...
 
void ext_dns_io_waiting_set_destroy_fd_group (extDnsCtx *ctx, extDnsIoDestroyFdGroup destroy)
 Allows to define the destroy method to be used on the fd_set allocated by calling current configured create handler. More...
 
void ext_dns_io_waiting_set_dispatch (extDnsCtx *ctx, extDnsIoDispatch dispatch)
 Allows to configure the dispatch function to be used for the automatic dispatch function. More...
 
void ext_dns_io_waiting_set_have_dispatch (extDnsCtx *ctx, extDnsIoHaveDispatch have_dispatch)
 Allows to configure the "have dispatch" function. More...
 
void ext_dns_io_waiting_set_is_set_fd_group (extDnsCtx *ctx, extDnsIoIsSetFdGroup is_set)
 Allows to configure the is set operation for the socket on the fd set. More...
 
void ext_dns_io_waiting_set_wait_on_fd_group (extDnsCtx *ctx, extDnsIoWaitOnFdGroup wait_on)
 Allows to configure the wait on fd group handler. More...
 
axl_bool ext_dns_io_waiting_use (extDnsCtx *ctx, extDnsIoWaitingType type)
 poll(2) system call implementation. More...
 

Detailed Description