Event Parameter Buffers
Go Up to Understanding the Event Mechanism
If an application is to receive notification about events, it must set up two identically-sized event parameter buffers (EPBs) using isc_event_block(). The first buffer, event_buffer, is used to hold the count of event occurrences before the application registers an interest in the event. The second buffer, result_buffer, is subsequently filled in with an updated count of event occurrences when an event of interest to the application occurs. A second API function, isc_event_counts(), determines the differences between item counts in these buffers to determine which event or events occurred.
For more information about setting up and using EPBs, see Creating EPBs with isc_event_block( ).