| 57 | } |
| 58 | |
| 59 | String CompatUtility::GetCommandName(const Command::Ptr& command) |
| 60 | /* Used in DB IDO and Livestatus. */ |
| 61 | { |
| 62 | if (!command) |
| 63 | return Empty; |
| 64 | |
| 65 | return GetCommandNamePrefix(command) + command->GetName(); |
| 66 | } |
| 67 | |
| 68 | /* Used in DB IDO and Livestatus. */ |
| 69 | String CompatUtility::GetCheckableCommandArgs(const Checkable::Ptr& checkable) |