GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
cmprzstd.c File Reference
#include <grass/config.h>
#include <zstd.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 88 of file cmprzstd.c.

◆ G_zstd_compress_bound()

int G_zstd_compress_bound ( int  src_sz)

Definition at line 74 of file cmprzstd.c.

References _, and G_fatal_error().

◆ G_zstd_expand()

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

Definition at line 163 of file cmprzstd.c.