Files
xen/tools/libs/light/test_common.h
T
Juergen Gross 41aea82de2 tools/libxl: move libxenlight to tools/libs/light
Carve out all libxenlight related sources and move them to
tools/libs/light in order to use the generic library build environment.

The closely related sources for libxl-save-helper and the libxl test
environment are being moved, too.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
2020-10-01 13:26:09 +02:00

30 lines
535 B
C

#ifndef TEST_COMMON_H
#define TEST_COMMON_H
#include "libxl.h"
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
void test_common_setup(int level);
extern libxl_ctx *ctx;
void test_common_get_now(void);
extern struct timeval now;
void test_common_beforepoll(void);
void test_common_dopoll(void);
void test_common_afterpoll(void);
extern int poll_nfds, poll_nfds_allocd;
extern struct pollfd *poll_fds;
extern int poll_timeout;
#endif /*TEST_COMMON_H*/