mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
nsh_stdsession() cannot use the same login logic as nsh_session(); Also put telnet login in a separate file for symmetry
This commit is contained in:
@@ -888,7 +888,15 @@ int nsh_parse(FAR struct nsh_vtbl_s *vtbl, char *cmdline);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_NSH_CONSOLE_LOGIN
|
||||
# if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
int nsh_login(FAR struct console_stdio_s *pstate);
|
||||
# else
|
||||
int nsh_stdlogin(FAR struct console_stdio_s *pstate);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NSH_TELNET_LOGIN
|
||||
int nsh_telnetlogin(FAR struct console_stdio_s *pstate);
|
||||
#endif
|
||||
|
||||
/* Application interface */
|
||||
|
Reference in New Issue
Block a user