I have a 200+ records long list. Each list item has 13 leaves. According to documentation, I can get several items at once using something like this:
// ds : data session socket; // cpath: simple path to the whole list; // N=13; start=0; limit=10; // tmp: confd_value_t *, allocated N*limit*sizeof(confd_value_t) bytes rescount = cdb_get_objects(ds, tmp, N, start, limit, cpath) // rescount=13;
No errors or exceptions, I just always get one object.
It correctly processes the “start” variable: I get one object of given position.
What I’m doing wrong?