Subversion Repositories freemyipod

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
494 theseven 1
/***************************************************************************
2
 *             __________               __   ___.
3
 *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
4
 *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
5
 *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
6
 *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
7
 *                     \/            \/     \/    \/            \/
8
 * $Id$
9
 *
10
 * Original source:
11
 * Copyright (c) 2003 by Joergen Ibsen / Jibz
12
 *
13
 * Rockbox adaptation:
14
 * Copyright (c) 2010 by Marcin Bukat
15
 *
16
 * emCORE adaptation:
17
 * Copyright (c) 2011 by Michael Sparmann
18
 *
19
 * This program is free software; you can redistribute it and/or
20
 * modify it under the terms of the GNU General Public License
21
 * as published by the Free Software Foundation; either version 2
22
 * of the License, or (at your option) any later version.
23
 *
24
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
25
 * KIND, either express or implied.
26
 *
27
 ****************************************************************************/
28
 
29
/*
30
 * tinf  -  tiny inflate library (inflate, gzip, zlib)
31
 *
32
 * version 1.00
33
 *
34
 * Copyright (c) 2003 by Joergen Ibsen / Jibz
35
 * All Rights Reserved
36
 *
37
 * http://www.ibsensoftware.com/
38
 */
39
 
40
/* removed from original file:
41
 * tinf_gzip_uncompress() prototype
42
 * tinf_init() prototype
43
 */
44
 
45
#ifndef TINF_H_INCLUDED
46
#define TINF_H_INCLUDED
47
 
48
#include "emcorelib.h"
49
 
50
/* calling convention */
51
#ifndef TINFCC
52
 #ifdef __WATCOMC__
53
  #define TINFCC __cdecl
54
 #else
55
  #define TINFCC
56
 #endif
57
#endif
58
 
59
#ifdef __cplusplus
60
extern "C" {
61
#endif
62
 
63
/* function prototypes */
64
 
65
int TINFCC tinf_uncompress(void *dest, unsigned int *destLen,
66
                           const void *source, unsigned int sourceLen);
67
 
68
int TINFCC tinf_zlib_uncompress(void *dest, unsigned int *destLen,
69
                                const void *source, unsigned int sourceLen);
70
 
71
#ifdef __cplusplus
72
} /* extern "C" */
73
#endif
74
 
75
#endif /* TINF_H_INCLUDED */