Blame src/lzo1f_d2.c

Packit 679830
/* lzo1f_d2.c -- LZO1F decompression with overrun testing
Packit 679830
Packit 679830
   This file is part of the LZO real-time data compression library.
Packit 679830
Packit 679830
   Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
Packit 679830
   All Rights Reserved.
Packit 679830
Packit 679830
   The LZO library is free software; you can redistribute it and/or
Packit 679830
   modify it under the terms of the GNU General Public License as
Packit 679830
   published by the Free Software Foundation; either version 2 of
Packit 679830
   the License, or (at your option) any later version.
Packit 679830
Packit 679830
   The LZO library is distributed in the hope that it will be useful,
Packit 679830
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 679830
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 679830
   GNU General Public License for more details.
Packit 679830
Packit 679830
   You should have received a copy of the GNU General Public License
Packit 679830
   along with the LZO library; see the file COPYING.
Packit 679830
   If not, write to the Free Software Foundation, Inc.,
Packit 679830
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Packit 679830
Packit 679830
   Markus F.X.J. Oberhumer
Packit 679830
   <markus@oberhumer.com>
Packit 679830
   http://www.oberhumer.com/opensource/lzo/
Packit 679830
 */
Packit 679830
Packit 679830
Packit 679830
#include "config1f.h"
Packit 679830
Packit 679830
#define LZO_TEST_OVERRUN 1
Packit 679830
#define DO_DECOMPRESS       lzo1f_decompress_safe
Packit 679830
Packit 679830
#include "lzo1f_d.ch"
Packit 679830
Packit 679830
#if defined(LZO_ARCH_I386) && defined(LZO_USE_ASM)
Packit 679830
LZO_EXTERN(int) lzo1f_decompress_asm_fast_safe
Packit 679830
                                (const lzo_bytep src, lzo_uint  src_len,
Packit 679830
                                       lzo_bytep dst, lzo_uintp dst_len,
Packit 679830
                                       lzo_voidp wrkmem);
Packit 679830
LZO_PUBLIC(int) lzo1f_decompress_asm_fast_safe
Packit 679830
                                (const lzo_bytep src, lzo_uint  src_len,
Packit 679830
                                       lzo_bytep dst, lzo_uintp dst_len,
Packit 679830
                                       lzo_voidp wrkmem)
Packit 679830
{
Packit 679830
    return lzo1f_decompress_safe(src, src_len, dst, dst_len, wrkmem);
Packit 679830
}
Packit 679830
#endif