~ubuntu-branches/ubuntu/precise/openarena/precise

« back to all changes in this revision

Viewing changes to code/qcommon/puff.h

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2008-09-05 21:14:51 UTC
  • mfrom: (1.2.1 upstream) (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080905211451-243bmbl6l6gdav7l
* Remove non-free code/tools/lcc (Closes: #496346)
  + Remove hunk from patch 10_fix_build_and_binary_on_alpha
  + debian/rules: Add BUILD_GAME_QVM=0 to $(MAKE) call
    (thanks to Peter De Wachter)
* Remove code/libs containing binary libraries for Mac OS X and Win32
* debian/copyright: Explain which parts of upstream's sources were removed
* debian/rules: replace ${source:Upstream-Version} by 0.7.7
  because the variable also contains the `+dfsg1' part
* Add -fsigned-char to compiler options (Closes: #487970)
  (thanks to Peter De Wachter)
* Add myself to Uploaders
* debian/control: Remove article from beginning of short description,
  don't start short description with a capital letter
* debian/openarena.6: Escape minus signs
  + fixes lintian warnings: hyphen-used-as-minus-sign

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  This is a modified version of Mark Adlers work,
 
3
 *  see below for the original copyright.
 
4
 *  2006 - Joerg Dietrich <dietrich_joerg@gmx.de>
 
5
 */
 
6
 
 
7
/* puff.h
 
8
  Copyright (C) 2002, 2003 Mark Adler, all rights reserved
 
9
  version 1.7, 3 Mar 2002
 
10
 
 
11
  This software is provided 'as-is', without any express or implied
 
12
  warranty.  In no event will the author be held liable for any damages
 
13
  arising from the use of this software.
 
14
 
 
15
  Permission is granted to anyone to use this software for any purpose,
 
16
  including commercial applications, and to alter it and redistribute it
 
17
  freely, subject to the following restrictions:
 
18
 
 
19
  1. The origin of this software must not be misrepresented; you must not
 
20
     claim that you wrote the original software. If you use this software
 
21
     in a product, an acknowledgment in the product documentation would be
 
22
     appreciated but is not required.
 
23
  2. Altered source versions must be plainly marked as such, and must not be
 
24
     misrepresented as being the original software.
 
25
  3. This notice may not be removed or altered from any source distribution.
 
26
 
 
27
  Mark Adler    madler@alumni.caltech.edu
 
28
 */
 
29
 
 
30
#ifndef __PUFF_H
 
31
#define __PUFF_H
 
32
 
 
33
#include "q_shared.h"                   /* for definitions of the <stdint.h> types */
 
34
 
 
35
/*
 
36
 * See puff.c for purpose and usage.
 
37
 */
 
38
int32_t puff(uint8_t  *dest,            /* pointer to destination pointer */
 
39
             uint32_t *destlen,         /* amount of output space */
 
40
             uint8_t  *source,          /* pointer to source data pointer */
 
41
             uint32_t *sourcelen);      /* amount of input available */
 
42
 
 
43
#endif // __PUFF_H