summaryrefslogtreecommitdiff
path: root/io/Makefile.objs
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-03-03 12:59:16 +0000
committerDaniel P. Berrange <berrange@redhat.com>2015-12-18 12:18:05 +0000
commit1c809fa01df0c638417480dfd446415615bfd217 (patch)
tree445e90c439c67a7c9b25f376e295edfcee2c0fbe /io/Makefile.objs
parent666a3af9c858c22d254e545de3ffc3fb197a3187 (diff)
io: add helper module for creating watches on FDs
A number of the channel implementations will require the ability to create watches on file descriptors / sockets. To avoid duplicating this code in each channel, provide a helper API for dealing with file descriptor watches. There are two watch implementations provided. The first is useful for bi-directional file descriptors such as sockets, regular files, character devices, etc. The second works with a pair of unidirectional file descriptors such as pipes. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'io/Makefile.objs')
-rw-r--r--io/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/Makefile.objs b/io/Makefile.objs
index a6ed3619b4..b02ea908ef 100644
--- a/io/Makefile.objs
+++ b/io/Makefile.objs
@@ -1 +1,2 @@
io-obj-y = channel.o
+io-obj-y += channel-watch.o