#include <gpiod.h>
Refer to Line edge events handling for functions that operate on gpiod_edge_event_buffer.