search for: event_class_bitmask

Displaying 1 result from an estimated 1 matches for "event_class_bitmask".

2010 Dec 22
2
Callbacks, log messages etc.
...messages it is a struct of numbers. Callers can register to receive events in a bitmask class and at a set of levels by doing: int /* event_handle */ guestfs_set_event_callback (guestfs_h *g, guestfs_event_callback cb, uint64_t event_class_bitmask, int min_level, void *opaque); void guestfs_delete_event_callback (guestfs_h *g, int event_handle); 'guestfs_set_event_callback' would register a callback for all event classes in 'event_class_bitmask' at level >= ...