Dominik Behr | 5239cca | 2016-01-21 18:22:04 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 The Chromium OS Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef DEV_H |
| 8 | #define DEV_H |
| 9 | |
Julius Werner | aa27929 | 2019-07-18 19:33:16 -0700 | [diff] [blame] | 10 | #include <sys/select.h> |
| 11 | |
Dominik Behr | 5239cca | 2016-01-21 18:22:04 -0800 | [diff] [blame] | 12 | int dev_init(void); |
| 13 | void dev_close(void); |
Dominik Behr | 5239cca | 2016-01-21 18:22:04 -0800 | [diff] [blame] | 14 | void dev_add_fds(fd_set* read_set, fd_set* exception_set, int *maxfd); |
| 15 | void dev_dispatch_io(fd_set* read_set, fd_set* exception_set); |
| 16 | |
| 17 | #endif |