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
2018-08-06 15:59:06 +03:00
2018-11-01 19:29:45 +03:00
2018-11-23 16:41:06 +03:00
2018-11-23 16:41:06 +03:00
2016-11-02 10:32:36 +01:00
2015-02-05 18:43:49 +01:00
2018-11-07 18:11:58 +03:00
2018-07-28 19:15:10 +03:00