You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
655 B
29 lines
655 B
/* |
|
* Copyright (c) 2018 Oticon A/S |
|
* Copyright (c) 2023 Nordic Semiconductor ASA |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
#ifndef BOARDS_POSIX_NATIVE_SIM_CMDLINE_H |
|
#define BOARDS_POSIX_NATIVE_SIM_CMDLINE_H |
|
|
|
#include "nsi_cmdline.h" |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
/* |
|
* API provided by native_sim for drivers or tests which want to register their own command line |
|
* arguments |
|
*/ |
|
void native_get_cmd_line_args(int *argc, char ***argv); |
|
void native_get_test_cmd_line_args(int *argc, char ***argv); |
|
void native_add_command_line_opts(struct args_struct_t *args); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /* BOARDS_POSIX_NATIVE_SIM_CMDLINE_H */
|
|
|