Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
shell_getopt.h
Go to the documentation of this file.
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
13extern "C" {
14#endif
15
16
17/* Initializing shell getopt module.
18 *
19 * @param[in] shell Pointer to the shell instance.
20 */
21void z_shell_getopt_init(struct getopt_state *state);
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* SHELL_GETOPT_H__ */
state
Definition: http_parser_state.h:30