Classes | Functions | Variables
lz4s.h File Reference
#include <lz4.h>
Include dependency graph for lz4s.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  roslz4_stream

Functions

int roslz4_blockSizeFromIndex (int block_id)
int roslz4_buffToBuffCompress (char *input, unsigned int input_size, char *output, unsigned int *output_size, int block_size_id)
int roslz4_buffToBuffDecompress (char *input, unsigned int input_size, char *output, unsigned int *output_size)
int roslz4_compress (roslz4_stream *stream, int action)
void roslz4_compressEnd (roslz4_stream *stream)
int roslz4_compressStart (roslz4_stream *stream, int block_size_id)
int roslz4_decompress (roslz4_stream *stream)
void roslz4_decompressEnd (roslz4_stream *str)
int roslz4_decompressStart (roslz4_stream *stream)

Variables

const int ROSLZ4_DATA_ERROR = -3
const int ROSLZ4_ERROR = -1
const int ROSLZ4_FINISH = 1
const int ROSLZ4_MEMORY_ERROR = -5
const int ROSLZ4_OK = 0
const int ROSLZ4_OUTPUT_SMALL = -2
const int ROSLZ4_PARAM_ERROR = -4
const int ROSLZ4_RUN = 0
const int ROSLZ4_STREAM_END = 2

Function Documentation

int roslz4_blockSizeFromIndex ( int  block_id)

Definition at line 299 of file lz4s.c.

int roslz4_buffToBuffCompress ( char *  input,
unsigned int  input_size,
char *  output,
unsigned int *  output_size,
int  block_size_id 
)

Definition at line 565 of file lz4s.c.

int roslz4_buffToBuffDecompress ( char *  input,
unsigned int  input_size,
char *  output,
unsigned int *  output_size 
)

Definition at line 596 of file lz4s.c.

int roslz4_compress ( roslz4_stream stream,
int  action 
)

Definition at line 309 of file lz4s.c.

void roslz4_compressEnd ( roslz4_stream stream)

Definition at line 345 of file lz4s.c.

int roslz4_compressStart ( roslz4_stream stream,
int  block_size_id 
)

Definition at line 303 of file lz4s.c.

int roslz4_decompress ( roslz4_stream stream)

Definition at line 528 of file lz4s.c.

Definition at line 559 of file lz4s.c.

Definition at line 351 of file lz4s.c.


Variable Documentation

const int ROSLZ4_DATA_ERROR = -3

Definition at line 47 of file lz4s.h.

const int ROSLZ4_ERROR = -1

Definition at line 49 of file lz4s.h.

const int ROSLZ4_FINISH = 1

Definition at line 55 of file lz4s.h.

const int ROSLZ4_MEMORY_ERROR = -5

Definition at line 45 of file lz4s.h.

const int ROSLZ4_OK = 0

Definition at line 50 of file lz4s.h.

const int ROSLZ4_OUTPUT_SMALL = -2

Definition at line 48 of file lz4s.h.

const int ROSLZ4_PARAM_ERROR = -4

Definition at line 46 of file lz4s.h.

const int ROSLZ4_RUN = 0

Definition at line 54 of file lz4s.h.

const int ROSLZ4_STREAM_END = 2

Definition at line 51 of file lz4s.h.



roslz4
Author(s): Ben Charrow
autogenerated on Thu Jun 6 2019 21:09:51