ECP-VELOC Components
User documentation for all components
|
Go to the documentation of this file.
13 #ifndef SHUFFILE_MAX_LINE
14 #define SHUFFILE_MAX_LINE (1024)
46 int shuffile_lseek(
const char* file,
int fd, off_t pos,
int whence);
49 ssize_t
shuffile_read(
const char* file,
int fd,
void* buf,
size_t size);
52 ssize_t
shuffile_write(
const char* file,
int fd,
const void* buf,
size_t size);
64 ssize_t
shuffile_writef(
const char* file,
int fd,
const char* format, ...);
75 unsigned long* filesizes
86 unsigned long* filesizes
130 const char* src_file,
131 const char* dst_file,
132 unsigned long buf_size,
148 int shuffile_compress(
const char* file_src,
const char* file_dst,
unsigned long block_size,
int level);
ssize_t shuffile_read_line(const char *file, int fd, char *buf, size_t size)
unsigned long shuffile_file_size(const char *file)
ssize_t shuffile_write_attempt(const char *file, int fd, const void *buf, size_t size)
int shuffile_close_with_unlock(const char *file, int fd)
int shuffile_file_unlink(const char *file)
int shuffile_file_is_writeable(const char *file)
int shuffile_rmdir(const char *dir)
int shuffile_close(const char *file, int fd)
int shuffile_open(const char *file, int flags,...)
int shuffile_stat(const char *file, struct stat *statbuf)
ssize_t shuffile_write(const char *file, int fd, const void *buf, size_t size)
int shuffile_getcwd(char *buf, size_t size)
mode_t shuffile_getmode(int read, int write, int execute)
int shuffile_crc32(const char *filename, uLong *crc)
int shuffile_lseek(const char *file, int fd, off_t pos, int whence)
int shuffile_write_pad_n(int n, const char **files, int *fds, char *buf, unsigned long count, unsigned long offset, unsigned long *filesizes)
int shuffile_mkdir(const char *dir, mode_t mode)
ssize_t shuffile_read(const char *file, int fd, void *buf, size_t size)
int shuffile_file_is_readable(const char *file)
int shuffile_file_lock_read(const char *file, int fd)
int shuffile_uncompress_in_place(const char *file_src, const char *file_dst)
int shuffile_file_copy(const char *src_file, const char *dst_file, unsigned long buf_size, uLong *crc)
int shuffile_open_with_lock(const char *file, int flags, mode_t mode)
ssize_t shuffile_read_attempt(const char *file, int fd, void *buf, size_t size)
int shuffile_uncompress(const char *file_src, const char *file_dst)
int shuffile_compress(const char *file_src, const char *file_dst, unsigned long block_size, int level)
int shuffile_file_exists(const char *file)
int shuffile_file_unlock(const char *file, int fd)
int shuffile_read_pad_n(int n, const char **files, int *fds, char *buf, unsigned long count, unsigned long offset, unsigned long *filesizes)
int shuffile_compress_in_place(const char *file_src, const char *file_dst, unsigned long block_size, int level)
ssize_t shuffile_writef(const char *file, int fd, const char *format,...)
int shuffile_file_lock_write(const char *file, int fd)