GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
|
Data Structures | |
struct | internal_state |
struct | gz_stream |
Macros | |
#define | Z_BUFSIZE 16384 |
#define | Z_PRINTF_BUFSIZE 4096 |
#define | ALLOC(size) gf_malloc(size) |
#define | TRYFREE(p) {if (p) gf_free(p);} |
#define | ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ |
#define | HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
#define | EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
#define | ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
#define | COMMENT 0x10 /* bit 4 set: file comment present */ |
#define | RESERVED 0xE0 /* bits 5..7: reserved */ |
#define | GZ_EXPORT |
#define | zstrerror(errnum) "" |
Typedefs | |
typedef voidp | gzFile |
Functions | |
static void check_header | OF ((gz_stream *s)) |
static gzFile | gz_open (const char *path, const char *mode, int fd) |
gzFile | gzopen (const char *path, const char *mode) |
gzFile | gzdopen (int fd, const char *mode) |
int | gzsetparams (gzFile file, int level, int strategy) |
static int | get_byte (gz_stream *s) |
static void | check_header (gz_stream *s) |
static int | destroy (gz_stream *s) |
int | gzread (gzFile file, voidp buf, unsigned len) |
int | gzgetc (gzFile file) |
int | gzungetc (int c, gzFile file) |
char * | gzgets (gzFile file, char *buf, int len) |
int | gzwrite (gzFile file, void *const buf, unsigned len) |
int | gzprintf (gzFile file, const char *format, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20) |
int | gzputc (gzFile file, int c) |
int | gzputs (gzFile file, const char *s) |
static int | do_flush (gzFile file, int flush) |
int | gzflush (gzFile file, int flush) |
int | gzrewind (gzFile file) |
z_off_t | gzseek (gzFile file, z_off_t offset, int whence) |
z_off_t | gztell (gzFile file) |
int | gzeof (gzFile file) |
int | gzdirect (gzFile file) |
static void | putLong (FILE *file, uLong x) |
static uLong | getLong (gz_stream *s) |
int | gzclose (gzFile file) |
const char * | gzerror (gzFile file, int *errnum) |
void | gzclearerr (gzFile file) |
Variables | |
static int const | gz_magic [2] = {0x1f, 0x8b} |
const char *const | z_errmsg [10] |
struct gz_stream |
#define Z_BUFSIZE 16384 |
#define Z_PRINTF_BUFSIZE 4096 |
#define ALLOC | ( | size | ) | gf_malloc(size) |
#define TRYFREE | ( | p | ) | {if (p) gf_free(p);} |
#define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ |
#define HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
#define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
#define ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
#define COMMENT 0x10 /* bit 4 set: file comment present */ |
#define RESERVED 0xE0 /* bits 5..7: reserved */ |
#define GZ_EXPORT |
#define zstrerror | ( | errnum | ) | "" |
typedef voidp gzFile |
|
static |
gzFile gzopen | ( | const char * | path, |
const char * | mode | ||
) |
gzFile gzdopen | ( | int | fd, |
const char * | mode | ||
) |
int gzsetparams | ( | gzFile | file, |
int | level, | ||
int | strategy | ||
) |
|
static |
|
static |
|
static |
int gzread | ( | gzFile | file, |
voidp | buf, | ||
unsigned | len | ||
) |
int gzgetc | ( | gzFile | file | ) |
int gzungetc | ( | int | c, |
gzFile | file | ||
) |
char* gzgets | ( | gzFile | file, |
char * | buf, | ||
int | len | ||
) |
int gzwrite | ( | gzFile | file, |
void *const | buf, | ||
unsigned | len | ||
) |
int gzprintf | ( | gzFile | file, |
const char * | format, | ||
int | a1, | ||
int | a2, | ||
int | a3, | ||
int | a4, | ||
int | a5, | ||
int | a6, | ||
int | a7, | ||
int | a8, | ||
int | a9, | ||
int | a10, | ||
int | a11, | ||
int | a12, | ||
int | a13, | ||
int | a14, | ||
int | a15, | ||
int | a16, | ||
int | a17, | ||
int | a18, | ||
int | a19, | ||
int | a20 | ||
) |
int gzputc | ( | gzFile | file, |
int | c | ||
) |
int gzputs | ( | gzFile | file, |
const char * | s | ||
) |
|
static |
int gzflush | ( | gzFile | file, |
int | flush | ||
) |
int gzrewind | ( | gzFile | file | ) |
z_off_t gzseek | ( | gzFile | file, |
z_off_t | offset, | ||
int | whence | ||
) |
z_off_t gztell | ( | gzFile | file | ) |
int gzeof | ( | gzFile | file | ) |
int gzdirect | ( | gzFile | file | ) |
|
static |
|
static |
int gzclose | ( | gzFile | file | ) |
const char* gzerror | ( | gzFile | file, |
int * | errnum | ||
) |
void gzclearerr | ( | gzFile | file | ) |
|
static |
const char* const z_errmsg[10] |