#ifndef SERVICES_HPP #define SERVICES_HPP #include #include #include namespace dropshell { struct ServiceInfo { std::string path; std::string service_name; std::string template_name; std::string template_path; }; std::vector get_server_services_info(const std::string& server_name); ServiceInfo get_service_info(const std::string& server_name, const std::string& service_name); std::set get_used_commands(const std::string& server_name, const std::string& service_name); // list all backups for a given server and service std::vector list_backups(const std::string& server_name, const std::string& service_name); bool create_service(const std::string& server_name, const std::string& service_name); } // namespace dropshell #endif