ELinks 0.18.0
|
#include <stdio.h>
#include <string.h>
#include <zlib.h>
#include <errno.h>
#include "elinks.h"
#include "encoding/encoding.h"
#include "encoding/gzip.h"
#include "util/memcount.h"
#include "util/memory.h"
Data Structures | |
struct | deflate_enc_data |
Macros | |
#define | ELINKS_DEFLATE_BUFFER_LENGTH 5000 |
Functions | |
static int | deflate_open (int window_size, struct stream_encoded *stream, int fd) |
static int | deflate_gzip_open (struct stream_encoded *stream, int fd) |
static char * | deflate_gzip_decode_buffer (struct stream_encoded *st, char *data, int len, int *new_len) |
static int | deflate_read (struct stream_encoded *stream, char *buf, int len) |
static char * | deflate_decode_buffer (struct stream_encoded *st, int window_size, char *datac, int len, int *new_len) |
static void | deflate_close (struct stream_encoded *stream) |
const char * | get_gzip_version (void) |
Variables | |
static const char *const | gzip_extensions [] = { ".gz", ".tgz", NULL } |
const struct decoding_backend | gzip_decoding_backend |
#define ELINKS_DEFLATE_BUFFER_LENGTH 5000 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char * get_gzip_version | ( | void | ) |
const struct decoding_backend gzip_decoding_backend |
|
static |