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

Function wmain

plugins/check_swap.cpp:225–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225int wmain(int argc, WCHAR **argv)
226{
227 printInfoStruct printInfo = { };
228 po::variables_map vm;
229
230 int ret = parseArguments(argc, argv, vm, printInfo);
231 if (ret != -1)
232 return ret;
233
234 ret = check_swap(printInfo);
235 if (ret != -1)
236 return ret;
237
238 return printOutput(printInfo);
239}

Callers

nothing calls this directly

Calls 3

check_swapFunction · 0.85
parseArgumentsFunction · 0.70
printOutputFunction · 0.70

Tested by

no test coverage detected