ub_event_base_vmt Struct Reference

The Virtual Method Table for and ub_event_base "object". More...

#include <unbound-event.h>

Data Fields

void(* free )(struct ub_event_base *)
 Destructor for the ub_event_base object, (not called by libunbound)
 
int(* dispatch )(struct ub_event_base *)
 Run the event loop (not called by libunbound when using ub_resolve_event)
 
int(* loopexit )(struct ub_event_base *, struct timeval *)
 Exit the given event loop.
 
struct ub_event *(* new_event )(struct ub_event_base *, int fd, short bits, void(*cb)(int, short, void *), void *arg)
 Instantiate a new ub_event associated with this event base.
 
struct ub_event *(* new_signal )(struct ub_event_base *, int fd, void(*cb)(int, short, void *), void *arg)
 Instantiate a new signal associated with this event base, (not called by libunbound)
 
struct ub_event *(* winsock_register_wsaevent )(struct ub_event_base *, void *wsaevent, void(*cb)(int, short, void *), void *arg)
 Create a new ub_event associated with the given wsaevent, (not called by libunbound)
 

Detailed Description

The Virtual Method Table for and ub_event_base "object".


The documentation for this struct was generated from the following file: