Consistently spell beta with small b
[privoxy.git] / deanimate.h
1 #ifndef DEANIMATE_H_INCLUDED
2 #define DEANIMATE_H_INCLUDED
3 #define DEANIMATE_H_VERSION "$Id: deanimate.h,v 1.13 2009/05/16 13:27:20 fabiankeil Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/deanimate.h,v $
7  *
8  * Purpose     :  Declares functions to manipulate binary images on the
9  *                fly.  High-level functions include:
10  *                  - Deanimation of GIF images
11  *
12  *                Functions declared include: gif_deanimate and buf_free.
13  *
14  *
15  * Copyright   :  Written by and Copyright (C) 2001 - 2004 by the the
16  *                SourceForge Privoxy team. http://www.privoxy.org/
17  *
18  *                Based on ideas from the Image::DeAnim Perl module by
19  *                Ken MacFarlane, <ksm+cpan@universal.dca.net>
20  *
21  *                Based on the Internet Junkbuster originally written
22  *                by and Copyright (C) 1997 Anonymous Coders and
23  *                Junkbusters Corporation.  http://www.junkbusters.com
24  *
25  *                This program is free software; you can redistribute it
26  *                and/or modify it under the terms of the GNU General
27  *                Public License as published by the Free Software
28  *                Foundation; either version 2 of the License, or (at
29  *                your option) any later version.
30  *
31  *                This program is distributed in the hope that it will
32  *                be useful, but WITHOUT ANY WARRANTY; without even the
33  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
34  *                PARTICULAR PURPOSE.  See the GNU General Public
35  *                License for more details.
36  *
37  *                The GNU General Public License should be included with
38  *                this file.  If not, you can view it at
39  *                http://www.gnu.org/copyleft/gpl.html
40  *                or write to the Free Software Foundation, Inc., 59
41  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
42  *
43  *********************************************************************/
44
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 /*
51  * A struct that holds a buffer, a read/write offset,
52  * and the buffer's capacity.
53  */
54 struct binbuffer
55 {
56    char *buffer;
57    size_t offset;
58    size_t size;
59 };
60
61 /*
62  * Function prototypes
63  */
64 extern int gif_deanimate(struct binbuffer *src, struct binbuffer *dst, int get_first_image);
65 extern void buf_free(struct binbuffer *buf);
66
67 /*
68  * Revision control strings from this header and associated .c file
69  */
70 extern const char deanimate_rcs[];
71 extern const char deanimate_h_rcs[];
72
73 #ifdef __cplusplus
74 } /* extern "C" */
75 #endif
76
77 #endif /* ndef DEANIMATE_H_INCLUDED */
78
79 /*
80   Local Variables:
81   tab-width: 3
82   end:
83 */