core: merge event requests with regular line requests
authorBartosz Golaszewski <bartekgola@gmail.com>
Sat, 1 Jul 2017 17:50:11 +0000 (19:50 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 6 Jul 2017 09:11:36 +0000 (11:11 +0200)
commitfb1700c470802f047d9203ee25319823ac1bccdc
tree4ecc93ca822e8639139e82bace630f7228afed3e
parent84aacc55d1332a92f64757518c5524cfc82f12f3
core: merge event requests with regular line requests

Requesting the lines both for reading/setting values as well as for
watching events will now be done using the gpiod_line_request_*()
family of functions.

This is the first part of changes required to fully convert the API.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
include/gpiod.h
src/lib/line.c
src/lib/simple.c
src/tools/gpiomon.c
tests/tests-line.c