diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-07-03 12:29:16 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-07-07 18:51:33 +1000 |
commit | 86946342fb164cdbceb30955fd8f001218871a36 (patch) | |
tree | e337fe54b156be9c666a92929935837a8e044f97 /test/litest-int.h | |
parent | 52d639875366d7337a35c14759adc52112c011c0 (diff) | |
download | libinput-86946342fb164cdbceb30955fd8f001218871a36.tar.gz |
test: store the list of open file descriptors in the litest context
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/litest-int.h')
-rw-r--r-- | test/litest-int.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/litest-int.h b/test/litest-int.h index 36be7a5b..c5b05e68 100644 --- a/test/litest-int.h +++ b/test/litest-int.h @@ -131,6 +131,16 @@ struct litest_device_interface { int max[2]; /* x/y axis maximum */ }; +struct path { + struct list link; + char *path; + int fd; +}; + +struct litest_context { + struct list paths; +}; + void litest_set_current_device(struct litest_device *device); int litest_scale(const struct litest_device *d, unsigned int axis, double val); void litest_generic_device_teardown(void); |