Get/GetNext of more than one value


Is there an option to return more than one value in get/get_next?
For example, if we have list with fields a, b, c. all these values are read from the hardware (operational state/counters).
can we read and return all these values at the same callback? i
another scenario it can be helpful is when we have a big amount of values configured for a list. when we do get_next and retrun one at the time it takes long.


Yes, you can register and use get_next_object or get_object callbacks. With get_next_object you can even return array of objects (list entries). It is suggested you return reasonable amount (cca 100) for one call. See
confd_lib_dp in the ConfD User Guide.