|
| | | | M E M _ S F E _ C B
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct mem_sfe_cb
{
LONG sc_buflen;
LONG sc_halflen;
UBYTE *sc_block;
LONG sc_blklen;
UBYTE *sc_data;
LONG sc_datalen;
LONG sc_total;
void *sc_userdata;
};
sc_buflen
- Size of the whole buffer allocated. This may be very different
from function input because it is being recomputed on entrance!
sc_halflen
- Size of a halve of the buffer based upon sc_buflen. Recomputed!
sc_block - Address of the memory that was allocated to store the data. One
big block.
sc_data - Address of the memory region where data were just read into.
This pointer will change after second pass from sc_block to the
second half!
sc_datalen
- Amount of data that was read into memory pointed to by sc_data.
sc_total - Total amount of data as read from file. This member is a byte
counter.
sc_userdata
- User data pointer that will be passed to the callback. Can be
whatever user wants.
| |
| | | | |
|