GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72114
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cmprbzip.c File Reference
#include <grass/config.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for cmprbzip.c:

Go to the source code of this file.

Functions

int G_bz2_compress_bound (int src_sz)
 
int G_bz2_compress (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz)
 
int G_bz2_expand (unsigned char *src, int src_sz, unsigned char *dst, int dst_sz)
 

Function Documentation

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

Definition at line 88 of file cmprbzip.c.

References _, dst, err(), G_bz2_compress_bound(), G_fatal_error(), G_free(), G_warning(), and NULL.

int G_bz2_compress_bound ( int  src_sz)

Definition at line 74 of file cmprbzip.c.

Referenced by G_bz2_compress().

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

Definition at line 169 of file cmprbzip.c.

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