Alexander Amelkin 73d6af5782 Add support for command-specific completion codes
Some commands may return command-specific completion codes.
Now they are all reported as 'Unknown'.
Add helper functions to support such command-specific codes.
Command handlers will need to define their own valstr arrays
with completion code descriptions and then use specific_val2str()
instead of generic val2str() to convert the completion code into
a string.

Also reduce code duplication in helper.c

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
2019-06-10 13:56:31 +03:00
..
2018-11-01 19:29:45 +03:00
2019-02-21 13:58:18 +03:00
2019-02-13 21:28:14 +03:00
2018-11-23 16:41:06 +03:00
2019-03-04 12:22:23 +03:00
2018-08-21 17:30:25 +03:00
2018-11-07 18:11:58 +03:00