IDZEBRA
2.2.7
|
Go to the source code of this file.
Data Structures | |
struct | zebra_mem_control |
struct | zebra_ext_control |
Functions | |
static off_t | zebra_mem_seek (struct ZebraRecStream *s, off_t offset) |
static off_t | zebra_mem_tell (struct ZebraRecStream *s) |
static int | zebra_mem_read (struct ZebraRecStream *s, char *buf, size_t count) |
static off_t | zebra_mem_end (struct ZebraRecStream *s, off_t *offset) |
static void | zebra_mem_destroy (struct ZebraRecStream *s) |
static int | zebra_ext_read (struct ZebraRecStream *s, char *buf, size_t count) |
static off_t | zebra_ext_seek (struct ZebraRecStream *s, off_t offset) |
static off_t | zebra_ext_tell (struct ZebraRecStream *s) |
static void | zebra_ext_destroy (struct ZebraRecStream *s) |
static off_t | zebra_ext_end (struct ZebraRecStream *s, off_t *offset) |
void | zebra_create_stream_mem (struct ZebraRecStream *stream, const char *buf, size_t sz) |
void | zebra_create_stream_fd (struct ZebraRecStream *stream, int fd, off_t start_offset) |
void zebra_create_stream_fd | ( | struct ZebraRecStream * | stream, |
int | fd, | ||
off_t | start_offset | ||
) |
Definition at line 140 of file stream.c.
References ZebraRecStream::destroy, ZebraRecStream::endf, zebra_ext_control::fd, fd, ZebraRecStream::fh, zebra_ext_control::offset_end, ZebraRecStream::readf, zebra_ext_control::record_offset, ZebraRecStream::seekf, ZebraRecStream::tellf, zebra_ext_destroy(), zebra_ext_end(), zebra_ext_read(), zebra_ext_seek(), and zebra_ext_tell().
Referenced by zebra_create_record_stream(), and zebra_extract_file().
void zebra_create_stream_mem | ( | struct ZebraRecStream * | stream, |
const char * | buf, | ||
size_t | sz | ||
) |
Definition at line 123 of file stream.c.
References ZebraRecStream::destroy, ZebraRecStream::endf, ZebraRecStream::fh, zebra_mem_control::offset_end, ZebraRecStream::readf, zebra_mem_control::record_int_buf, zebra_mem_control::record_int_len, zebra_mem_control::record_int_pos, ZebraRecStream::seekf, ZebraRecStream::tellf, zebra_mem_destroy(), zebra_mem_end(), zebra_mem_read(), zebra_mem_seek(), and zebra_mem_tell().
Referenced by zebra_buffer_extract_record(), and zebra_create_record_stream().
|
static |
Definition at line 106 of file stream.c.
References zebra_ext_control::fd, and ZebraRecStream::fh.
Referenced by zebra_create_stream_fd().
|
static |
Definition at line 114 of file stream.c.
References ZebraRecStream::fh, and zebra_ext_control::offset_end.
Referenced by zebra_create_stream_fd().
|
static |
Definition at line 88 of file stream.c.
References zebra_ext_control::fd, and ZebraRecStream::fh.
Referenced by zebra_create_stream_fd().
|
static |
Definition at line 94 of file stream.c.
References zebra_ext_control::fd, ZebraRecStream::fh, and zebra_ext_control::record_offset.
Referenced by zebra_create_stream_fd().
|
static |
Definition at line 100 of file stream.c.
References zebra_ext_control::fd, ZebraRecStream::fh, and zebra_ext_control::record_offset.
Referenced by zebra_create_stream_fd().
|
static |
Definition at line 82 of file stream.c.
References ZebraRecStream::fh.
Referenced by zebra_create_stream_mem().
|
static |
Definition at line 74 of file stream.c.
References ZebraRecStream::fh, and zebra_mem_control::offset_end.
Referenced by zebra_create_stream_mem().
|
static |
Definition at line 62 of file stream.c.
References ZebraRecStream::fh, zebra_mem_control::record_int_buf, zebra_mem_control::record_int_len, and zebra_mem_control::record_int_pos.
Referenced by zebra_create_stream_mem().
|
static |
Definition at line 50 of file stream.c.
References ZebraRecStream::fh, and zebra_mem_control::record_int_pos.
Referenced by zebra_create_stream_mem().
|
static |
Definition at line 56 of file stream.c.
References ZebraRecStream::fh, and zebra_mem_control::record_int_pos.
Referenced by zebra_create_stream_mem().