summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/mspack/szdd.h
blob: b9936b42d155be2a9a45001794716393485e6f97 (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
/* This file is part of libmspack.
 * (C) 2003-2004 Stuart Caie.
 *
 * libmspack is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License (LGPL) version 2.1
 *
 * For further details, see the file COPYING.LIB distributed with libmspack
 */

#ifndef MSPACK_SZDD_H
#define MSPACK_SZDD_H 1

#include "lzss.h"

/* input buffer size during decompression - not worth parameterising IMHO */
#define SZDD_INPUT_SIZE (2048)

/* SZDD compression definitions */

struct msszdd_compressor_p {
  struct msszdd_compressor base;
  struct mspack_system *system;
  int error;
};

/* SZDD decompression definitions */

struct msszdd_decompressor_p {
  struct msszdd_decompressor base;
  struct mspack_system *system;
  int error;
};

struct msszddd_header_p {
  struct msszddd_header base;
  struct mspack_file *fh;
};

#endif