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

Function wmain

plugins/check_load.cpp:231–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231int wmain(int argc, WCHAR **argv)
232{
233 printInfoStruct printInfo;
234 po::variables_map vm;
235
236 int ret = parseArguments(argc, argv, vm, printInfo);
237 if (ret != -1)
238 return ret;
239
240 ret = check_load(printInfo);
241 if (ret != -1)
242 return ret;
243
244 return printOutput(printInfo);
245}

Callers

nothing calls this directly

Calls 3

check_loadFunction · 0.85
parseArgumentsFunction · 0.70
printOutputFunction · 0.70

Tested by

no test coverage detected