Configure prevention pairing over non-private network

This commit is contained in:
loki
2019-12-27 16:04:18 +01:00
parent b054adae06
commit b3ae81cb3a
8 changed files with 195 additions and 11 deletions
+22
View File
@@ -0,0 +1,22 @@
//
// Created by loki on 12/27/19.
//
#ifndef SUNSHINE_NETWORK_H
#define SUNSHINE_NETWORK_H
#include <tuple>
namespace net {
enum net_e : int {
PC,
LAN,
WAN
};
net_e from_enum_string(const std::string_view &view);
std::string_view to_enum_string(net_e net);
net_e from_address(const std::string_view &view);
}
#endif //SUNSHINE_NETWORK_H