void *private_data;
/** send that many bytes in one go */
int chunk_bytes;
+ /** pointer to the group this node belongs to */
struct writer_node_group *wng;
/** the writer-specific configuration of this node */
void *conf;
+ /** how much of the wng's buffer is already written */
+ size_t written;
};
/** describes one supported writer */
unsigned num_writers;
/** array of pointers to the corresponding writer nodes */
struct writer_node *writer_nodes;
- /** keeps track of how many bytes have been written by each node */
- int *written;
/** the maximum of the chunk_bytes values of the writer nodes in this group */
size_t max_chunk_bytes;
/** non-zero if end of file was encountered */