|
| | | | N F O _ F S Q _ C B
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct nfo_fsq_cb
{
LONG fc_userlen;
UBYTE *fc_userptr;
LONG fc_exlen;
UBYTE *fc_file;
LONG fc_edval;
ULONG fc_termsig;
void *fc_userdata;
void *fc_usercode;
struct ExAllData *fc_ead;
};
fc_userlen
- Preallocated user space length that can be used inside the CB.
Min 4 bytes.
fc_userptr
- Preallocated user space pointer. This serves as a temporary
buffer that user may use inside the callback. This memory gets
freed automatically.
fc_exlen - Size of the buffer that is used to collect filesystem related
info. See fc_ead member.
fc_file - File or path as passed to the function.
fc_edval - One of the ED_xxx macros that allow to determine how much data
to get.
fc_termsig
- Termination signal so that it is possible to break the internal
loop and leave the function at anytime. 0 means no signal.
fc_userdata
- User data pointer that will be passed to the callback. Can be
whatever user wants.
fc_usercode
- Callback function pointer as passed to the main function.
fc_ead - Filesystem related info can be read from this structure per CB
call.
| |
| | | | |
|