Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
24 lines
766 B
C++
24 lines
766 B
C++
#ifndef SETTINGS_HPP
|
|
#define SETTINGS_HPP
|
|
|
|
#include <settings/wifi/wifi.hpp>
|
|
#include <settings/telnet/telnet.hpp>
|
|
#include <settings/ssh/ssh.hpp>
|
|
#include <settings/ftp/ftp.hpp>
|
|
#include <settings/dns/dns.hpp>
|
|
|
|
namespace api
|
|
{
|
|
namespace settings
|
|
{
|
|
void set_all_settings(nlohmann::json json_body);
|
|
void backup(const httplib::Request& request, httplib::Response& response);
|
|
void restore(const httplib::Request& request, httplib::Response& response);
|
|
void restore_defaults(const httplib::Request& request, httplib::Response& response);
|
|
void get(const httplib::Request& request, httplib::Response& response);
|
|
void set(const httplib::Request& request, httplib::Response& response);
|
|
}
|
|
}
|
|
|
|
#endif // SETTINGS_HPP
|