Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|---|
| 2 | #ifndef _LINUX_IO_URING_NET_H |
| 3 | #define _LINUX_IO_URING_NET_H |
| 4 | |
| 5 | struct io_uring_cmd; |
| 6 | |
| 7 | #if defined(CONFIG_IO_URING) |
| 8 | int io_uring_cmd_sock(struct io_uring_cmd *cmd, unsigned int issue_flags); |
| 9 | |
| 10 | #else |
| 11 | static inline int io_uring_cmd_sock(struct io_uring_cmd *cmd, |
| 12 | unsigned int issue_flags) |
| 13 | { |
| 14 | return -EOPNOTSUPP; |
| 15 | } |
| 16 | #endif |
| 17 | |
| 18 | #endif |
| 19 |
Warning: This file is not a C or C++ file. It does not have highlighting.
