ELinks 0.18.0
|
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <lzma.h>
#include <errno.h>
#include "elinks.h"
#include "encoding/encoding.h"
#include "util/memory.h"
Data Structures | |
struct | lzma_enc_data |
Macros | |
#define | ELINKS_BZ_BUFFER_LENGTH 5000 |
#define | ELINKS_LZMA_MEMORY_LIMIT (1024 * 1024 * 128) |
Functions | |
static int | lzma_open (struct stream_encoded *stream, int fd) |
static int | lzma_read (struct stream_encoded *stream, char *buf, int len) |
static char * | lzma_decode_buffer (struct stream_encoded *st, char *data, int len, int *new_len) |
static void | lzma_close (struct stream_encoded *stream) |
const char * | get_lzma_version (void) |
Variables | |
static const char *const | lzma_extensions [] = { ".lzma", ".xz", NULL } |
const struct decoding_backend | lzma_decoding_backend |
#define ELINKS_BZ_BUFFER_LENGTH 5000 |
#define ELINKS_LZMA_MEMORY_LIMIT (1024 * 1024 * 128) |
const char * get_lzma_version | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
const struct decoding_backend lzma_decoding_backend |
|
static |