Correct the reference in the comment to native posix. This header is here to stay providing the API for registering arguments. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
30 lines
655 B
C
30 lines
655 B
C
/*
|
|
* 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 */
|