DTS Application Library
0.2.3
Application library containing referenced objects and interfaces to common libraries
|
Simplified implementation of zlib functions. More...
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include "include/dtsapp.h"
Go to the source code of this file.
Functions | |
struct zobj * | zcompress (uint8_t *buff, uint16_t len, uint8_t level) |
Allocate a buffer and return it with compressed data. More... | |
void | zuncompress (struct zobj *buff, uint8_t *obuff) |
Uncompress zobj buffer to buffer. More... | |
int | is_gzip (uint8_t *buf, int buf_size) |
check a buffer if it contains gzip magic More... | |
uint8_t * | gzinflatebuf (uint8_t *buf_in, int buf_size, uint32_t *len) |
Ungzip a buffer. More... | |
Simplified implementation of zlib functions.
Definition in file zlib.c.