Hi and thank you for your effort.
You are very close to what I want to achieve, but I was already aware of
the impossibility of querying direct from a command. I wanted the
following (both would be covered by your changes):
1. preprocess an item_t in the direction: NUT-DEVICE
in order to be
mmh..
At the moment there are 3 distinct preprocess functions that operate
on 2 different types:
- info_rw_t - preprocess();
- item_t - preprocess();
- item_t - preprocess_answer().
For info_rw_t: range/enum values are preprocessed just to see if that
specific value is to be used or not