GRASS GIS 8 Programmer's Manual 8.4.1(2025)-45ca3179ab
Loading...
Searching...
No Matches
cmprzstd.c File Reference
#include <grass/config.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for cmprzstd.c:

Go to the source code of this file.

Functions

int G_zstd_compress_bound (int src_sz)
 
int G_zstd_compress (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz)
 
int G_zstd_expand (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz)
 

Function Documentation

◆ G_zstd_compress()

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

Definition at line 86 of file cmprzstd.c.

References err(), G_fatal_error(), G_free(), G_warning(), G_zstd_compress_bound(), and NULL.

◆ G_zstd_compress_bound()

int G_zstd_compress_bound ( int src_sz)

Definition at line 72 of file cmprzstd.c.

References G_fatal_error().

Referenced by G_zstd_compress().

◆ G_zstd_expand()

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

Definition at line 162 of file cmprzstd.c.

References err(), G_fatal_error(), G_warning(), and NULL.