Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | group_data |
struct | bunzip_data |
Macros | |
#define | INT_MAX 0x7fffffff |
#define | MAX_GROUPS 6 |
#define | GROUP_SIZE 50 /* 64 would have been more efficient */ |
#define | MAX_HUFCODE_BITS 20 /* Longest Huffman code allowed */ |
#define | MAX_SYMBOLS 258 /* 256 literals + RUNA + RUNB */ |
#define | SYMBOL_RUNA 0 |
#define | SYMBOL_RUNB 1 |
#define | RETVAL_OK 0 |
#define | RETVAL_LAST_BLOCK (-1) |
#define | RETVAL_NOT_BZIP_DATA (-2) |
#define | RETVAL_UNEXPECTED_INPUT_EOF (-3) |
#define | RETVAL_UNEXPECTED_OUTPUT_EOF (-4) |
#define | RETVAL_DATA_ERROR (-5) |
#define | RETVAL_OUT_OF_MEMORY (-6) |
#define | RETVAL_OBSOLETE_INPUT (-7) |
#define | BZIP2_IOBUF_SIZE 4096 |
Functions | |
STATIC int INIT | bunzip2 (unsigned char *buf, int len, int(*fill)(void *, unsigned int), int(*flush)(void *, unsigned int), unsigned char *outbuf, int *pos, void(*error)(char *x)) |
#define BZIP2_IOBUF_SIZE 4096 |
Definition at line 78 of file decompress_bunzip2.c.
#define GROUP_SIZE 50 /* 64 would have been more efficient */ |
Definition at line 61 of file decompress_bunzip2.c.
#define INT_MAX 0x7fffffff |
Definition at line 56 of file decompress_bunzip2.c.
#define MAX_GROUPS 6 |
Definition at line 60 of file decompress_bunzip2.c.
#define MAX_HUFCODE_BITS 20 /* Longest Huffman code allowed */ |
Definition at line 62 of file decompress_bunzip2.c.
#define MAX_SYMBOLS 258 /* 256 literals + RUNA + RUNB */ |
Definition at line 63 of file decompress_bunzip2.c.
#define RETVAL_DATA_ERROR (-5) |
Definition at line 73 of file decompress_bunzip2.c.
#define RETVAL_LAST_BLOCK (-1) |
Definition at line 69 of file decompress_bunzip2.c.
#define RETVAL_NOT_BZIP_DATA (-2) |
Definition at line 70 of file decompress_bunzip2.c.
#define RETVAL_OBSOLETE_INPUT (-7) |
Definition at line 75 of file decompress_bunzip2.c.
#define RETVAL_OK 0 |
Definition at line 68 of file decompress_bunzip2.c.
#define RETVAL_OUT_OF_MEMORY (-6) |
Definition at line 74 of file decompress_bunzip2.c.
#define RETVAL_UNEXPECTED_INPUT_EOF (-3) |
Definition at line 71 of file decompress_bunzip2.c.
#define RETVAL_UNEXPECTED_OUTPUT_EOF (-4) |
Definition at line 72 of file decompress_bunzip2.c.
#define SYMBOL_RUNA 0 |
Definition at line 64 of file decompress_bunzip2.c.
#define SYMBOL_RUNB 1 |
Definition at line 65 of file decompress_bunzip2.c.