nshlib:add platform_skip_login to nshlib.h
Signed-off-by: huangjian <huangjian@xiaomi.com>
This commit is contained in:
parent
9fcb58fb8a
commit
9f3e2cd234
@ -192,6 +192,26 @@ int nsh_telnetstart(sa_family_t family);
|
||||
void platform_motd(FAR char *buffer, size_t buflen);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: platform_skip_login
|
||||
*
|
||||
* Description:
|
||||
* If CONFIG_NSH_PLATFORM_SKIP_LOGIN is defined, then platform-specific logic
|
||||
* must provide this function in order to skip login.
|
||||
*
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Returned value:
|
||||
* OK - need to skip login
|
||||
* else - no need to skip login
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_NSH_PLATFORM_SKIP_LOGIN
|
||||
int platform_skip_login(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: platform_challenge
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user