MCPcopy Create free account
hub / github.com/Icinga/icinga2 / wmain

Function wmain

plugins/check_memory.cpp:202–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202int wmain(int argc, WCHAR **argv)
203{
204 printInfoStruct printInfo = {};
205 po::variables_map vm;
206
207 int ret = parseArguments(argc, argv, vm, printInfo);
208 if (ret != -1)
209 return ret;
210
211 ret = check_memory(printInfo);
212 if (ret != -1)
213 return ret;
214
215 return printOutput(printInfo);
216}

Callers

nothing calls this directly

Calls 3

check_memoryFunction · 0.85
parseArgumentsFunction · 0.70
printOutputFunction · 0.70

Tested by

no test coverage detected