all ifndef replaced with pragma once #19
No files matched your search
@@ -1,6 +1,4 @@
|
|||||||
#ifndef DNS_HPP
|
#pragma once
|
||||||
#define DNS_HPP
|
|
||||||
|
|
||||||
#include <json.hpp>
|
#include <json.hpp>
|
||||||
|
|
||||||
namespace api
|
namespace api
|
||||||
@@ -15,5 +13,3 @@ namespace api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // DNS_HPP
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
#ifndef FTP_HPP
|
#pragma once
|
||||||
#define FTP_HPP
|
|
||||||
|
|
||||||
namespace api
|
namespace api
|
||||||
{
|
{
|
||||||
namespace settings
|
namespace settings
|
||||||
@@ -11,5 +9,3 @@ namespace api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // FTP_HPP
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
#ifndef SETTINGS_HPP
|
#pragma once
|
||||||
#define SETTINGS_HPP
|
|
||||||
|
|
||||||
#include <settings/wifi/wifi.hpp>
|
#include <settings/wifi/wifi.hpp>
|
||||||
#include <settings/telnet/telnet.hpp>
|
#include <settings/telnet/telnet.hpp>
|
||||||
#include <settings/ssh/ssh.hpp>
|
#include <settings/ssh/ssh.hpp>
|
||||||
@@ -19,5 +17,3 @@ namespace api
|
|||||||
void set(const httplib::Request& request, httplib::Response& response);
|
void set(const httplib::Request& request, httplib::Response& response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SETTINGS_HPP
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
#ifndef SSH_HPP
|
#pragma once
|
||||||
#define SSH_HPP
|
|
||||||
|
|
||||||
#include <json.hpp>
|
#include <json.hpp>
|
||||||
|
|
||||||
#define DROPBEAR_SSH "dropbear"
|
#define DROPBEAR_SSH "dropbear"
|
||||||
@@ -20,5 +18,3 @@ namespace api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SSH_HPP
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
#ifndef SETTINGS_TELNET_HPP
|
#pragma once
|
||||||
#define SETTINGS_TELNET_HPP
|
|
||||||
|
|
||||||
namespace api
|
namespace api
|
||||||
{
|
{
|
||||||
namespace settings
|
namespace settings
|
||||||
@@ -12,5 +10,3 @@ namespace api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SETTINGS_TELNET_HPP
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
#ifndef WIFI_HPP
|
#pragma once
|
||||||
#define WIFI_HPP
|
|
||||||
|
|
||||||
#include <httplib.h>
|
#include <httplib.h>
|
||||||
|
|
||||||
#define WIFI_SETTINGS_PATH "/etc/hostapd/hostapd.conf"
|
#define WIFI_SETTINGS_PATH "/etc/hostapd/hostapd.conf"
|
||||||
@@ -19,5 +17,3 @@ namespace api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // WIFI_HPP
|
|
||||||
Reference in new issue
Block a user