1 /* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef SHELL_GETOPT_H__ 8 #define SHELL_GETOPT_H__ 9 10 #include <getopt.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 17 /* Initializing shell getopt module. 18 * 19 * @param[in] shell Pointer to the shell instance. 20 */ 21 void z_shell_getopt_init(struct getopt_state *state); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif /* SHELL_GETOPT_H__ */ 28