GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d37ee165c
cmprzlib.c File Reference
#include <grass/config.h>
#include <zlib.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "G.h"
Include dependency graph for cmprzlib.c:

Go to the source code of this file.

Functions

int G_zlib_compress_bound (int src_sz)
 
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)
 

Function Documentation

◆ G_zlib_compress()

int G_zlib_compress ( unsigned char *  src,
int  src_sz,
unsigned char *  dst,
int  dst_sz 
)

Definition at line 91 of file cmprzlib.c.

◆ G_zlib_compress_bound()

int G_zlib_compress_bound ( int  src_sz)

Definition at line 79 of file cmprzlib.c.

◆ G_zlib_expand()

int G_zlib_expand ( unsigned char *  src,
int  src_sz,
unsigned char *  dst,
int  dst_sz 
)

Definition at line 170 of file cmprzlib.c.