libxl: ao abort: Provide explicit internal abort check API
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 10 Feb 2015 19:16:08 +0000 (19:16 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Jun 2015 15:53:50 +0000 (16:53 +0100)
commitbf0e9ed9c77ea1a9322d239dfae2d599da0e2ef8
tree36b93ffc4b7d2bf7e264628546e352e5d4a804d5
parent29db7f65d69bbb34029c57d9356bf7c0e6f05513
libxl: ao abort: Provide explicit internal abort check API

Some places in libxl which can't handle abort via a
libxl__ao_abortable callback might nevertheless benefit from being
able to explicitly check whether abort has been requested.

Provide the (fairly trivial) internal API function to do this.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: New in this version of the series.
tools/libxl/libxl_event.c
tools/libxl/libxl_internal.h