zephyr/subsys/net/ip/net_shell.h
Jukka Rissanen 436e295dd9 net: shell: Migrate to new shell API
Convert net-shell to use the new shell API.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-15 11:14:02 +03:00

26 lines
393 B
C

/** @file
* @brief Network shell handler
*
* This is not to be included by the application.
*/
/*
* Copyright (c) 2018 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __NET_SHELL_H
#define __NET_SHELL_H
#if defined(CONFIG_NET_SHELL)
extern int net_shell_init(void);
#else
static inline int net_shell_init(void)
{
return 0;
}
#endif
#endif /* __NET_SHELL_H */