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

Function wmain

plugins/check_update.cpp:235–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

check_updateFunction · 0.85
parseArgumentsFunction · 0.70
printOutputFunction · 0.70

Tested by

no test coverage detected