src is includedir

This commit is contained in:
wt committed 2024-12-15 02:37:29 +07:00
1 parent 1cc5d08887
commit f7b1d75bab
24 files changed
+81 -81

No files matched your search

+4 -4
View File
@@ -1,10 +1,10 @@
#include "dns.hpp"
#include <settings/dns/dns.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define DNS_REQUIRED_STRING R"({"required":"[token,enabled]"})"
+4 -4
View File
@@ -1,10 +1,10 @@
#include "dns.hpp"
#include <settings/dns/dns.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
namespace api
{
+4 -4
View File
@@ -1,10 +1,10 @@
#include "dns.hpp"
#include <settings/dns/dns.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
namespace api
{
+4 -4
View File
@@ -1,10 +1,10 @@
#include "ftp.hpp"
#include <settings/ftp/ftp.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define FTP_REQUIRED_STRING R"({"required":"[token,enabled]"})"
+5 -5
View File
@@ -1,10 +1,10 @@
#ifndef SETTINGS_HPP
#define SETTINGS_HPP
#include "wifi/wifi.hpp"
#include "telnet/telnet.hpp"
#include "ssh/ssh.hpp"
#include "ftp/ftp.hpp"
#include "dns/dns.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>
#endif // SETTINGS_HPP
+4 -4
View File
@@ -1,10 +1,10 @@
#include "ssh.hpp"
#include <settings/ssh/ssh.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define KEYS_PATH "/root/.ssh/authorized_keys"
+4 -4
View File
@@ -1,14 +1,14 @@
#include "ssh.hpp"
#include <settings/ssh/ssh.hpp>
#include <colors.h>
#include "../../types.hpp"
#include <types.hpp>
#include <json.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define SSH_PORT_REQUIRED_STRING R"({"required":"[token,port]"})"
#define SSH_PORT_PATH "/etc/openrouter/ssh/port"
+4 -4
View File
@@ -1,10 +1,10 @@
#include "ssh.hpp"
#include <settings/ssh/ssh.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define SSH_REQUIRED_STRING R"({"required":"[token,status]"})"
+4 -4
View File
@@ -1,14 +1,14 @@
#include "telnet.hpp"
#include <settings/telnet/telnet.hpp>
#include <colors.h>
#include "../../types.hpp"
#include <types.hpp>
#include <json.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define TELNET_REQUIRED_STRING R"({"required":"[token,enabled]"})"
+4 -4
View File
@@ -1,14 +1,14 @@
#include "telnet.hpp"
#include <settings/telnet/telnet.hpp>
#include <colors.h>
#include "../../types.hpp"
#include <types.hpp>
#include <json.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define TELNET_PORT_REQUIRED_STRING R"({"required":"[token,port]"})"
+4 -4
View File
@@ -1,14 +1,14 @@
#include "wifi.hpp"
#include <settings/wifi/wifi.hpp>
#include <colors.h>
#include "../../types.hpp"
#include <types.hpp>
#include <json.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define WIFI_CHANNEL_REQUIRED_STRING R"({"required":"[token,channel]"})"
+4 -4
View File
@@ -1,14 +1,14 @@
#include "wifi.hpp"
#include <settings/wifi/wifi.hpp>
#include <colors.h>
#include "../../types.hpp"
#include <types.hpp>
#include <json.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define WIFI_NAME_REQUIRED_STRING R"({"required":"[token,name]"})"
+4 -4
View File
@@ -1,14 +1,14 @@
#include "wifi.hpp"
#include <settings/wifi/wifi.hpp>
#include <colors.h>
#include "../../types.hpp"
#include <types.hpp>
#include <json.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define WIFI_PASSWORD_REQUIRED_STRING R"({"required":"[token,password,newpassword]"})"
+4 -4
View File
@@ -1,11 +1,11 @@
#include "wifi.hpp"
#include <settings/wifi/wifi.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <QR-Code-generator/qrcodegen.hpp>
#include <QR-Code-generator/qrtosvg.hpp>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
namespace api
{
+4 -4
View File
@@ -1,10 +1,10 @@
#include "wifi.hpp"
#include <settings/wifi/wifi.hpp>
#include <colors.h>
#include <json.hpp>
#include "../../types.hpp"
#include <types.hpp>
#include <syslog.h>
#include "../../auth/auth.hpp"
#include "../../helpers.hpp"
#include <auth/auth.hpp>
#include <helpers.hpp>
#define WIFI_REQUIRED_STRING R"({"required":"[token,status]"})"