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

Method Register

lib/cli/clicommand.cpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void CLICommand::Register(const std::vector<String>& name, const CLICommand::Ptr& function)
124{
125 std::unique_lock<std::mutex> lock(GetRegistryMutex());
126 GetRegistry()[name] = function;
127}
128
129void CLICommand::Unregister(const std::vector<String>& name)
130{

Callers 1

ValidateConfigFilesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected