-
Notifications
You must be signed in to change notification settings - Fork 3
Logs_MoveNext
anatol edited this page Jul 13, 2021
·
1 revision
uint8_t Logs_MoveNext(uint32_t iSlot, void* pKey, uint32_t& nKey,
void* pVal, uint32_t& nVal, HeightPos& pos, uint8_t nRepeat);
Reads the next variable specified by iSlot
-
iSlot
: enumeration slot returned by Logs_Enum -
pKey
: pointer to the key buffer -
nKey
: the size of the key buffer -
pVal
: pointer to the value buffer -
nVal
: the size of the value buffer -
pos
: -
nRepeat
: 1 - don't move read current variable again, 0 - read next variable
- 1 if successful
- 0 otherwise
- the slot number should be obtained with Logs_Enum function
- this function copies
nKey
bytes topKey
and then overridesnKey
with exact size of the key - this function copies
nVal
bytes topVal
and then overridesnVal
with exact size of the value