blob: 10c71669c83ae0b297ef8e094f772ace52f3f32a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#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*/
|