289acf3333
The build system used by rbutil is not very robust: all the files are eventually compiled to the same directory so we cannot have two files with the same name (system.c would conflicts with system.cpp) so rename one file to avoid this. Also change all include directives to local ones because we don't have to expose the entire mspack source to inclusion. Change-Id: I3fe0638d69fdc30566eb9425abfe33c807678b28 Reviewed-on: http://gerrit.rockbox.org/417 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
39 lines
871 B
C
39 lines
871 B
C
/* 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
|