MT#61856 control_ng: leave some TODOers

For the following arrays:
- `ng_command_strings`
- `ng_command_strings_esc`
- `ng_command_strings_short`

Because there are still external users of them,
which should be reworked in the future to use the
`ng_command_defs` instead.

Change-Id: I4086513e295b00cc23ee035b004e896a83294bf9
mr26.1
Donat Zenichev 2 weeks ago
parent f63f81ec66
commit c9248e4fe6

@ -76,6 +76,10 @@ static const struct ng_command_def *ng_command_find(const str *cmd) {
return NULL;
}
/**
* Compatibility arrays used outside control_ng.
* Keep generated from NG_COMMANDS until callers are migrated to a helper API.
*/
const char *ng_command_strings[OP_COUNT] = {
#define X(op, name, esc, short_name, handler) [op] = name,
#define XA(op, name, esc, short_name, handler) [op] = name,

Loading…
Cancel
Save