A user defined pluggable event base is registered by providing a ub_event_base "object" with the ub_ctx_create_ub_event() function. More...
#include <unbound-event.h>
Data Fields | |
unsigned long | magic |
magic must be UB_EVENT_MAGIC (0x44d74d78) | |
struct ub_event_base_vmt * | vmt |
Virtual Method Table for ub_event_base. | |
A user defined pluggable event base is registered by providing a ub_event_base "object" with the ub_ctx_create_ub_event() function.
The magic number must be correct and the Virtual Method Table must be fully equipped providing the event base API to be used by libunbound.