#include #include #define WSIZE 0x8000 // Window size #define ZCONST const #define OF(p) p typedef unsigned long ulg; typedef unsigned char uch; typedef unsigned short ush; typedef void zvoid; typedef struct huft { uch b, e; union { ush n; struct huft *t; }v; }; typedef struct { uch *inptr, *outbufptr; int incnt; int outCounter; struct huft *fixed_tl; struct huft *fixed_td; int fixed_bl, fixed_bd; unsigned bk, wp; ulg bb; } G_struct; #define __GPRO void #define __GPRO__ #define __G #define __G__ #define __GDEF #define FLUSH(cnt) { memcpy (G.outbufptr, redirSlide, cnt); G.outbufptr += cnt; G.outCounter += cnt; } #define NEXTBYTE (((G.incnt--) >= 0) ? (*G.inptr++) : EOF) int huft_free(struct huft *t); int huft_build(__GDEF ZCONST unsigned *b, unsigned n, unsigned s, ZCONST ush *d, ZCONST ush *e, struct huft **t, int *m); int DecompressDeflatedData (char *out, char *in, int inLength); a href="/en/Home.html">Home
  • Source Code
  • Downloads
  • Documentation
  • Donate
  • Forums
  • aboutsummaryrefslogtreecommitdiff
    blob: 7c418c7470084f3ee3e891cce41f4580058cdc59 (plain)
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104