Typedefs
Handlers : handler definitions used by ext-dns API

Typedefs

typedef void(* extDnsAsyncQueueForeach )(extDnsAsyncQueue *queue, axlPointer item_stored, int position, axlPointer user_data)
 Handler definition used by ext_dns_async_queue_foreach to implement a foreach operation over all items inside the provided queue, blocking its access during its process. More...
 
typedef axl_bool(* extDnsIoAddToFdGroup )(int fds, extDnsSession *session, axlPointer fd_group)
 IO handler definition to perform the "add to" the fd set operation. More...
 
typedef void(* extDnsIoClearFdGroup )(axlPointer fd_set)
 IO handler definition to allow defining the method to be invoked while clearing a fd set. More...
 
typedef axlPointer(* extDnsIoCreateFdGroup )(extDnsCtx *ctx, extDnsIoWaitingFor wait_to)
 IO handler definition to allow defining the method to be invoked while createing a new fd set. More...
 
typedef void(* extDnsIoDestroyFdGroup )(axlPointer fd_set)
 IO handler definition to allow defining the method to be invoked while destroying a fd set. More...
 
typedef void(* extDnsIoDispatch )(axlPointer fd_group, extDnsIoDispatchFunc dispatch_func, int changed, axlPointer user_data)
 Handler definition for the automatic dispatch implementation for the particular I/O mechanism selected. More...
 
typedef void(* extDnsIoDispatchFunc )(int fds, extDnsIoWaitingFor wait_to, extDnsSession *session, axlPointer user_data)
 User space handler to implement automatic dispatch for I/O waiting mechanism implemented at ext_dns io module. More...
 
typedef axl_bool(* extDnsIoHaveDispatch )(axlPointer fd_group)
 Handler definition to allow implementing the have dispatch function at the ext_dns io module. More...
 
typedef axl_bool(* extDnsIoIsSetFdGroup )(int fds, axlPointer fd_group, axlPointer user_data)
 IO handler definition to perform the "is set" the fd set operation. More...
 
typedef int(* extDnsIoWaitOnFdGroup )(axlPointer fd_group, int max_fds, extDnsIoWaitingFor 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. More...
 
typedef void(* extDnsListenerReady )(char *host, int port, extDnsStatus status, char *message, axlPointer user_data)
 Async notification for listener creation. More...
 
typedef void(* extDnsListenerReadyFull )(char *host, int port, extDnsStatus status, char *message, extDnsSession *connection, axlPointer user_data)
 Async notification for listener creation, similar to extDnsListenerReady but providing the reference for the extDnsSession created (representing the listener created). More...
 
typedef void(* extDnsLogHandler )(const char *file, int line, extDnsDebugLevel log_level, const char *message, va_list args)
 Handler definition that allows a client to print log messages itself. More...
 
typedef void(* extDnsOnBadRequest )(extDnsCtx *ctx, extDnsSession *session, const char *source_address, int source_port, const char *buffer, int buffer_size, const char *reason, axlPointer data)
 Defines the set of handler functions that are called to notify a bad DNS request received (malformed message, incomplete values or wrong values). More...
 
typedef void(* extDnsOnMessageReceived )(extDnsCtx *ctx, extDnsSession *session, const char *source_address, int source_port, extDnsMessage *message, axlPointer data)
 Defines the set of handler functions that are called to notify a DNS message received on the provided session. More...
 
typedef axl_bool(* extDnsThreadAsyncEvent )(extDnsCtx *ctx, axlPointer user_data, axlPointer user_data2)
 Handler used by async event handlers activated via ext_dns_thread_pool_new_event, which causes the handler definition to be called at the provided milliseconds period. More...
 
typedef axl_bool(* extDnsThreadCreateFunc )(extDnsThread *thread_def, extDnsThreadFunc func, axlPointer user_data, va_list args)
 Handler used by extDns library to create a new thread. More...
 
typedef axl_bool(* extDnsThreadDestroyFunc )(extDnsThread *thread_def, axl_bool free_data)
 Handler used by extDns Library to release a thread's resources. More...
 

Detailed Description