GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-77aab223bc
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 87 of file cmprzlib.c.

◆ G_zlib_compress_bound()

int G_zlib_compress_bound ( int  src_sz)

Definition at line 76 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 165 of file cmprzlib.c.