io: add ability to associate an opaque "result" with with a task
commit52dd99e8a4df8ace2fdf8cd173a3338357776bff
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 11 Aug 2016 13:36:21 +0000 (11 14:36 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Jan 2017 15:32:18 +0000 (23 15:32 +0000)
treea1369d3a1df1b5d757089e77ed992fa5e2b5c32e
parente8c8adecada7a3e59bffcc0207327aae472ffcda
io: add ability to associate an opaque "result" with with a task

Currently there is no data associated with a successful
task completion. This adds an opaque pointer to the task
to store an arbitrary result.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/io/task.h
io/task.c