Fairly big refactor...
This commit is contained in:
24
src/services.hpp
Normal file
24
src/services.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef SERVICES_HPP
|
||||
#define SERVICES_HPP
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
namespace dropshell {
|
||||
|
||||
struct ServiceInfo {
|
||||
std::string path;
|
||||
std::string service_name;
|
||||
std::string template_name;
|
||||
std::string template_path;
|
||||
};
|
||||
|
||||
std::vector<ServiceInfo> 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<std::string> get_used_commands(const std::string& server_name, const std::string& service_name);
|
||||
} // namespace dropshell
|
||||
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user