Files
xen/tools/libxl/libxl_test_fdevent.h
T
Ian Jackson f94c08340c libxl: event tests: Provide libxl_test_fdevent
We are going to use this shortly.  But, it is nicely self-contained.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
2015-07-15 11:40:43 +01:00

13 lines
391 B
C

#ifndef TEST_FDEVENT_H
#define TEST_FDEVENT_H
#include <pthread.h>
int libxl_test_fdevent(libxl_ctx *ctx, int fd, short events,
libxl_asyncop_how *ao_how)
LIBXL_EXTERNAL_CALLERS_ONLY;
/* This operation waits for one of the poll events to occur on fd, and
* then completes successfully. (Or, it can be aborted.) */
#endif /*TEST_FDEVENT_H*/