#include <zlib.h>
#include "my_dir.h"
#include "my_io.h"
Go to the source code of this file.
|
int | azopen (azio_stream *s, const char *path, int Flags) |
|
int | azdopen (azio_stream *s, File fd, int Flags) |
|
size_t | azread (azio_stream *s, voidp buf, size_t len, int *error) |
|
unsigned int | azwrite (azio_stream *s, const voidp buf, unsigned int len) |
|
int | azflush (azio_stream *file, int flush) |
|
my_off_t | azseek (azio_stream *file, my_off_t offset, int whence) |
|
int | azrewind (azio_stream *file) |
|
my_off_t | aztell (azio_stream *file) |
|
int | azclose (azio_stream *file) |
|
int | azwrite_frm (azio_stream *s, char *blob, size_t length) |
|
int | azread_frm (azio_stream *s, char *blob) |
|
int | azwrite_comment (azio_stream *s, char *blob, size_t length) |
|
int | azread_comment (azio_stream *s, char *blob) |
|
◆ AZ_AUTOINCREMENT_POS
#define AZ_AUTOINCREMENT_POS 53 |
◆ AZ_BLOCK_POS
◆ AZ_BUFSIZE_READ
#define AZ_BUFSIZE_READ 32768 |
◆ AZ_BUFSIZE_WRITE
#define AZ_BUFSIZE_WRITE 16384 |
◆ AZ_CHECK_POS
◆ AZ_COMMENT_LENGTH_POS
#define AZ_COMMENT_LENGTH_POS 73 |
◆ AZ_COMMENT_POS
#define AZ_COMMENT_POS 69 |
◆ AZ_DIRTY_POS
◆ AZ_FLUSH_POS
◆ AZ_FRM_LENGTH_POS
#define AZ_FRM_LENGTH_POS 9 |
◆ AZ_FRM_POS
◆ AZ_LONGEST_POS
#define AZ_LONGEST_POS 61 |
◆ AZ_MAGIC_POS
◆ AZ_META_LENGTH_POS
#define AZ_META_LENGTH_POS 17 |
◆ AZ_META_POS
◆ AZ_MINOR_VERSION_POS
#define AZ_MINOR_VERSION_POS 2 |
◆ AZ_ROW_POS
◆ AZ_SHORTEST_POS
#define AZ_SHORTEST_POS 65 |
◆ AZ_START_POS
◆ AZ_STATE_CLEAN
◆ AZ_STATE_CRASHED
#define AZ_STATE_CRASHED 3 |
◆ AZ_STATE_DIRTY
◆ AZ_STATE_SAVED
◆ AZ_STRATEGY_POS
#define AZ_STRATEGY_POS 4 |
◆ AZ_VERSION_POS
◆ AZHEADER_SIZE
◆ AZMETA_BUFFER_SIZE
#define AZMETA_BUFFER_SIZE |
Value: sizeof(unsigned long long) + sizeof(unsigned long long) + \
sizeof(unsigned long long) + sizeof(unsigned long long) + \
sizeof(unsigned int) + sizeof(unsigned int) + sizeof(unsigned int) + \
sizeof(unsigned int) + sizeof(unsigned char)
◆ Z_ASCII
#define Z_ASCII Z_TEXT /* for compatibility with 1.2.2 and earlier */ |
◆ Z_BEST_COMPRESSION
#define Z_BEST_COMPRESSION 9 |
◆ Z_BEST_SPEED
◆ Z_BINARY
◆ Z_BLOCK
◆ Z_BUF_ERROR
◆ Z_DATA_ERROR
#define Z_DATA_ERROR (-3) |
◆ Z_DEFAULT_COMPRESSION
#define Z_DEFAULT_COMPRESSION (-1) |
◆ Z_DEFAULT_STRATEGY
#define Z_DEFAULT_STRATEGY 0 |
◆ Z_DEFLATED
◆ Z_ERRNO
◆ Z_FILTERED
◆ Z_FINISH
◆ Z_FIXED
◆ Z_FULL_FLUSH
◆ Z_HUFFMAN_ONLY
◆ Z_MEM_ERROR
◆ Z_NEED_DICT
◆ Z_NO_COMPRESSION
#define Z_NO_COMPRESSION 0 |
◆ Z_NO_FLUSH
◆ Z_NULL
#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ |
◆ Z_OK
◆ Z_PARTIAL_FLUSH
#define Z_PARTIAL_FLUSH 1 /* will be removed, use Z_SYNC_FLUSH instead */ |
◆ Z_RLE
◆ Z_STREAM_END
◆ Z_STREAM_ERROR
#define Z_STREAM_ERROR (-2) |
◆ Z_SYNC_FLUSH
◆ Z_TEXT
◆ Z_UNKNOWN
◆ Z_VERSION_ERROR
#define Z_VERSION_ERROR (-6) |
◆ azio_stream
◆ azclose()
◆ azdopen()
◆ azflush()
◆ azopen()
int azopen |
( |
azio_stream * |
s, |
|
|
const char * |
path, |
|
|
int |
Flags |
|
) |
| |
◆ azread()
size_t azread |
( |
azio_stream * |
s, |
|
|
voidp |
buf, |
|
|
size_t |
len, |
|
|
int * |
error |
|
) |
| |
◆ azread_comment()
◆ azread_frm()
◆ azrewind()
◆ azseek()
◆ aztell()
◆ azwrite()
unsigned int azwrite |
( |
azio_stream * |
s, |
|
|
const voidp |
buf, |
|
|
unsigned int |
len |
|
) |
| |
◆ azwrite_comment()
int azwrite_comment |
( |
azio_stream * |
s, |
|
|
char * |
blob, |
|
|
size_t |
length |
|
) |
| |
◆ azwrite_frm()
int azwrite_frm |
( |
azio_stream * |
s, |
|
|
char * |
blob, |
|
|
size_t |
length |
|
) |
| |