Provide admin-only SSH status plus generation-safe start, stop, and single-session disconnect operations through the bounded dispatcher. Include Settings UI coverage, lifecycle safeguards, and host-side regression tests.
10 lines
343 B
C
10 lines
343 B
C
/* SPDX-License-Identifier: GPL-3.0-only */
|
|
#pragma once
|
|
#include <stdint.h>
|
|
#include "esp_http_server.h"
|
|
|
|
/* Optional admin-only SSH status and login-isolated ordinary controls. */
|
|
esp_err_t web_ssh_settings_handler(httpd_req_t *request);
|
|
esp_err_t web_ssh_operation_handler(httpd_req_t *request);
|
|
void web_ssh_settings_execute(uint32_t id);
|