dropshell/source/src/servers.hpp
Your Name 1d3bb634f0
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
Refact0r
2025-05-17 19:40:51 +12:00

29 lines
594 B
C++

#ifndef SERVERS_HPP
#define SERVERS_HPP
#include <string>
#include <set>
#include <vector>
namespace dropshell {
// Server information structure
struct ServerInfo {
std::string name;
std::string ssh_host;
std::string ssh_user;
std::string ssh_port;
};
std::vector<ServerInfo> get_configured_servers();
ServerInfo get_server_info(const std::string& server_name);
bool create_server(const std::string& server_name);
void get_all_used_commands(std::set<std::string> &commands);
} // namespace dropshell
#endif // SERVERS_HPP