1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef _NRF_HW_MODEL_UART_BACKEND_PTY_INT_H
7 #define _NRF_HW_MODEL_UART_BACKEND_PTY_INT_H
8 
9 #ifdef __cplusplus
10 extern "C"{
11 #endif
12 
13 int nhw_upty_open_ptty(const char *uart_name, const char *auto_attach_cmd,
14                        bool do_auto_attach, bool wait_pts);
15 void nhw_upty_wait_for_pty(int fd, uint64_t microsec);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif /* _NRF_HW_MODEL_UART_BACKEND_PTY_INT_H */
22