#include "config.h"#include <zlib.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include "gis.h"Include dependency graph for flate.c:

Go to the source code of this file.
Defines | |
| #define | G_ZLIB_COMPRESSED_NO (unsigned char)'0' |
| #define | G_ZLIB_COMPRESSED_YES (unsigned char)'1' |
Functions | |
| int | G_zlib_read (int fd, int rbytes, unsigned char *dst, int nbytes) |
| int | G_zlib_write (int fd, unsigned char *src, int nbytes) |
| int | G_zlib_write_noCompress (int fd, unsigned char *src, int nbytes) |
| int | G_zlib_compress (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz) |
| int | G_zlib_expand (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz) |
| #define G_ZLIB_COMPRESSED_NO (unsigned char)'0' |
Definition at line 128 of file flate.c.
Referenced by G_zlib_read(), G_zlib_write(), and G_zlib_write_noCompress().
| #define G_ZLIB_COMPRESSED_YES (unsigned char)'1' |
| int G_zlib_compress | ( | unsigned char * | src, | |
| int | src_sz, | |||
| unsigned char * | dst, | |||
| int | dst_sz | |||
| ) |
Definition at line 321 of file flate.c.
References G_calloc(), G_free(), and NULL.
Referenced by G_zlib_write().
| int G_zlib_expand | ( | unsigned char * | src, | |
| int | src_sz, | |||
| unsigned char * | dst, | |||
| int | dst_sz | |||
| ) |
| int G_zlib_read | ( | int | fd, | |
| int | rbytes, | |||
| unsigned char * | dst, | |||
| int | nbytes | |||
| ) |
Definition at line 144 of file flate.c.
References b, G_calloc(), G_free(), G_ZLIB_COMPRESSED_NO, G_ZLIB_COMPRESSED_YES, G_zlib_expand(), and NULL.
| int G_zlib_write | ( | int | fd, | |
| unsigned char * | src, | |||
| int | nbytes | |||
| ) |
Definition at line 209 of file flate.c.
References G_calloc(), G_free(), G_zlib_compress(), G_ZLIB_COMPRESSED_NO, G_ZLIB_COMPRESSED_YES, and NULL.
Referenced by G__write_data_compressed().
| int G_zlib_write_noCompress | ( | int | fd, | |
| unsigned char * | src, | |||
| int | nbytes | |||
| ) |
1.4.7