From: Jevgeni Astanovski <jevgeniast@xxxxxxxxx>next.
Date: Mon, 22 Sep 2014 09:52:44 +0300
I meant different thing.
I would retrieve QDFTRTVD API data into an allocated memory chunk.
Then I would create user space to keep retrieved structures in a
format of FieldData_t format.
I would place two integers in the beginning of the user space that are
length of the data in the user space and offset to the first unsent
field in the user space.
Then I would return first retrieved field from the user space and
increment a pointer to the next one.
When called with "NEXT" I would just return a field pointed by my
"next" pointer in the user space and increment it.
In this case you also do not need to pass previous field when requesting
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.