| 5 | #include "Server/AgentServer.h" |
| 6 | |
| 7 | MaaBool MaaAgentServerStartUp(const char* identifier) |
| 8 | { |
| 9 | LogFunc << VAR(identifier); |
| 10 | |
| 11 | if (!identifier) { |
| 12 | LogError << "identifier is null"; |
| 13 | return false; |
| 14 | } |
| 15 | |
| 16 | return MAA_AGENT_SERVER_NS::AgentServer::get_instance().start_up(identifier); |
| 17 | } |
| 18 | |
| 19 | void MaaAgentServerShutDown() |
| 20 | { |