#include <downloads.h>
Each buffer in this pool is of SOCK_BUFSZ bytes, and the first buffer is always the buffer from the socket structure.
Data Fields | |
enum dl_bufmode | mode |
I/O vector mode. | |
gint | count |
Number of buffers for reading. | |
gchar ** | buffers |
Array of `count' buffers. | |
iovec * | iov |
I/O vector of buffers. | |
iovec * | iov_cur |
Current base of I/O vector for reading. | |
gint | iovcnt |
Remaining entries in I/O vector. | |
size_t | size |
Total size of buffers. | |
size_t | amount |
Amount to buffer (extra is read-ahead). | |
size_t | held |
Amount of data held in read buffers. |
|
Amount to buffer (extra is read-ahead).
|
|
Array of `count' buffers.
|
|
Number of buffers for reading.
|
|
Amount of data held in read buffers.
|
|
I/O vector of buffers.
|
|
Current base of I/O vector for reading.
|
|
Remaining entries in I/O vector.
|
|
I/O vector mode.
|
|
Total size of buffers.
|