#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "zlib.h"
#include "zran.h"
Go to the source code of this file.
|
static struct deflate_index * | addpoint (struct deflate_index *index, int bits, off_t in, off_t out, unsigned left, unsigned char *window) |
|
int | deflate_index_build (FILE *in, off_t span, struct deflate_index **built) |
|
int | deflate_index_extract (FILE *in, struct deflate_index *index, off_t offset, unsigned char *buf, int len) |
|
void | deflate_index_free (struct deflate_index *index) |
|
◆ CHUNK
◆ WINSIZE
#define WINSIZE 32768U /* sliding window size */ |
◆ addpoint()
◆ deflate_index_build()
int deflate_index_build |
( |
FILE * |
in, |
|
|
off_t |
span, |
|
|
struct deflate_index ** |
built |
|
) |
| |
◆ deflate_index_extract()
int deflate_index_extract |
( |
FILE * |
in, |
|
|
struct deflate_index * |
index, |
|
|
off_t |
offset, |
|
|
unsigned char * |
buf, |
|
|
int |
len |
|
) |
| |
◆ deflate_index_free()