event: modify the API
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 10:26:18 +0000 (11:26 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 6 Jan 2017 10:26:18 +0000 (11:26 +0100)
commitb6649710da4f80b1e4a76f391dfc0174afeb1b7e
tree47c124b2c49840aa1f34f1d464cafec249ba0cf2
parente735361820b41cc5b141a491da988dcb5078da0b
event: modify the API

In order to make it possible for users to poll the event file
descriptor, we need to split the logic of waiting for events to occur
and reading them into separate routines.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
core.c
gpiod.h
gpiomon.c