simple: rework the event loop
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 25 Sep 2017 17:13:48 +0000 (19:13 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 27 Sep 2017 08:01:12 +0000 (10:01 +0200)
commita7ee495b12820d323ca4fca9c91e7403258d6d7c
treecfab46e98732e75e799b9cd0fcefe1b4ea1438fb
parent170c8387cd33d459b04169782ef78ca2e73cb422
simple: rework the event loop

Implement a new routine for monitoring multiple lines with the simple
event loop and extend the simple loop interface with custom polling
capabilities.

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