LiVES  3.2.0
Data Fields
lives_file_buffer_t Struct Reference

#include <main.h>

Data Fields

ssize_t bytes
 
uint8_t * ptr
 buffer size for write, bytes left to read in case of read More...
 
uint8_t * buffer
 read point in buffer More...
 
off_t offset
 ptr to data (ptr - buffer + bytes) gives the read size More...
 
int fd
 
int bufsztype
 
boolean eof
 
boolean read
 
boolean reversed
 
boolean slurping
 
int nseqreads
 
int totops
 
int64_t totbytes
 
boolean allow_fail
 
volatile boolean invalid
 
size_t orig_size
 
char * pathname
 

Detailed Description

Definition at line 1604 of file main.h.

Field Documentation

◆ allow_fail

boolean lives_file_buffer_t::allow_fail

Definition at line 1618 of file main.h.

Referenced by lives_close_buffered().

◆ buffer

uint8_t* lives_file_buffer_t::buffer

read point in buffer

Definition at line 1607 of file main.h.

Referenced by lives_lseek_buffered_rdonly_absolute(), and lives_read_buffered_eof().

◆ bufsztype

int lives_file_buffer_t::bufsztype

Definition at line 1610 of file main.h.

Referenced by lives_read_buffered().

◆ bytes

ssize_t lives_file_buffer_t::bytes

◆ eof

boolean lives_file_buffer_t::eof

Definition at line 1611 of file main.h.

Referenced by lives_buffered_rdonly_slurp(), and lives_read_buffered_eof().

◆ fd

int lives_file_buffer_t::fd

Definition at line 1609 of file main.h.

Referenced by find_in_file_buffers().

◆ invalid

volatile boolean lives_file_buffer_t::invalid

Definition at line 1619 of file main.h.

◆ nseqreads

int lives_file_buffer_t::nseqreads

Definition at line 1615 of file main.h.

Referenced by lives_read_buffered().

◆ offset

off_t lives_file_buffer_t::offset

ptr to data (ptr - buffer + bytes) gives the read size

Definition at line 1608 of file main.h.

Referenced by get_file_size(), lives_buffered_offset(), lives_buffered_rdonly_slurp(), and lives_lseek_buffered_rdonly_absolute().

◆ orig_size

size_t lives_file_buffer_t::orig_size

Definition at line 1620 of file main.h.

Referenced by lives_buffered_orig_size().

◆ pathname

char* lives_file_buffer_t::pathname

Definition at line 1621 of file main.h.

Referenced by filename_from_fd(), and find_in_file_buffers_by_pathname().

◆ ptr

uint8_t* lives_file_buffer_t::ptr

buffer size for write, bytes left to read in case of read

Definition at line 1606 of file main.h.

Referenced by lives_lseek_buffered_rdonly_absolute(), and lives_read_buffered_eof().

◆ read

boolean lives_file_buffer_t::read

◆ reversed

boolean lives_file_buffer_t::reversed

Definition at line 1613 of file main.h.

Referenced by lives_buffered_rdonly_set_reversed(), and lives_read_buffered_eof().

◆ slurping

boolean lives_file_buffer_t::slurping

Definition at line 1614 of file main.h.

Referenced by lives_buffered_rdonly_slurp(), and lives_read_buffered().

◆ totbytes

int64_t lives_file_buffer_t::totbytes

Definition at line 1617 of file main.h.

◆ totops

int lives_file_buffer_t::totops

Definition at line 1616 of file main.h.


The documentation for this struct was generated from the following file: