core: add the offset argument to the simple event loop callback
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 13 Jul 2017 16:09:17 +0000 (18:09 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 13 Jul 2017 16:09:17 +0000 (18:09 +0200)
commit5571ba17ce5a978025edf94ef7a68e2ab06daeec
tree60ddae76c7bcd7f31bd97242ce6edb6cee221958
parent2ac43f80d5491dced058332b17990f58e3a74a73
core: add the offset argument to the simple event loop callback

In preparation for introducing a multiple lines variant of the simple
event loop routine, add the offset argument to the callback prototype.

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