sr: session: Add support for GPollFD or GIOChannel based sources
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 30 Jun 2012 18:54:44 +0000 (20:54 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 4 Jul 2012 23:41:00 +0000 (01:41 +0200)
commit1ef6b9b30137c4b1d0509ec0c2cd4bb6d0dcb031
tree9b54a333b78107999fded07aa4cbf541cb52005f
parent7149ad7cf5dfa79f9b9023e3da92a4db94b47033
sr: session: Add support for GPollFD or GIOChannel based sources

A raw file descriptor to poll on is not always available, this patch adds
support for adding a source for a GIOChannel or GPollFD.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
libsigrok/proto.h
libsigrok/session.c