nshlib:add platform_skip_login to nshlib.h
@@ -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
*
