◆ can_sendfile
| unsigned evbuffer_file_segment::can_sendfile |
What kind of file segment is this?
◆ cleanup_cb
Cleanup callback function
◆ cleanup_cb_arg
| void* evbuffer_file_segment::cleanup_cb_arg |
Argument to be pass to cleanup callback function
◆ contents
| char* evbuffer_file_segment::contents |
If we're using mmap or IO, this is the content of the file segment.
◆ fd
| int evbuffer_file_segment::fd |
The fd that we read the data from.
◆ file_offset
| ev_off_t evbuffer_file_segment::file_offset |
Position of this segment within the file.
◆ flags
| unsigned evbuffer_file_segment::flags |
combination of EVBUF_FS_* flags
◆ length
| ev_off_t evbuffer_file_segment::length |
The length of this segment.
◆ lock
| void* evbuffer_file_segment::lock |
lock prevent concurrent access to refcnt
◆ mapping
| void* evbuffer_file_segment::mapping |
If we're using mmap, this is the raw mapped memory.
◆ mmap_offset
| ev_off_t evbuffer_file_segment::mmap_offset |
If we're using mmap, this is the offset within 'mapping' where this data segment begins.
◆ refcnt
| int evbuffer_file_segment::refcnt |
Reference count for this file segment
The documentation for this struct was generated from the following file: