1 /*
2  * Copyright (c) 2018 Oticon A/S
3  * Copyright (c) 2023 Nordic Semiconductor ASA
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 #ifndef BOARDS_POSIX_NATIVE_SIM_CMDLINE_H
9 #define BOARDS_POSIX_NATIVE_SIM_CMDLINE_H
10 
11 #include "nsi_cmdline.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 /*
18  * To support native_posix drivers or tests which register their own arguments
19  * we provide a header with the same name as in native_posix
20  */
21 void native_get_cmd_line_args(int *argc, char ***argv);
22 void native_get_test_cmd_line_args(int *argc, char ***argv);
23 void native_add_command_line_opts(struct args_struct_t *args);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* BOARDS_POSIX_NATIVE_SIM_CMDLINE_H */
30