At present, a simple reader's state consists only of a read buffer. The read buffer could also be allocated on the stack in simple_exec()
, which would eliminate all state, but I prefer to keep large data objects off the stack.
Definition at line 61 of file simplecopier.c.
Data Fields | |
void * | progressenv |
rdd_proghandler_t | progressfun |
unsigned char | readbuf [SIMPLE_READ_SIZE] |
progress environment
Definition at line 64 of file simplecopier.c.
progress callback
Definition at line 63 of file simplecopier.c.
unsigned char _RDD_SIMPLE_COPIER::readbuf[SIMPLE_READ_SIZE] |
read buffer
Definition at line 62 of file simplecopier.c.