GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
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.