libpurple/protocols/gg/lib/deflate.h

Wed, 28 Sep 2016 09:32:19 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 28 Sep 2016 09:32:19 -0500
changeset 38066
2e94b6fa06a0
parent 33286
98d449073931
permissions
-rw-r--r--

Merged in CMaiku/pidgin (pull request #136)

Windows build fixes

31828
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
1 /* $Id$ */
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
2
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
3 /*
33286
98d449073931 Update libgadu to 1.11.1
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 31828
diff changeset
4 * (C) Copyright 2011 Bartosz Brachaczek <b.brachaczek@gmail.com>
31828
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
5 *
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
6 * This program is free software; you can redistribute it and/or modify
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
7 * it under the terms of the GNU Lesser General Public License Version
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
8 * 2.1 as published by the Free Software Foundation.
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
9 *
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
13 * GNU Lesser General Public License for more details.
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
14 *
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
16 * License along with this program; if not, write to the Free Software
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
18 * USA.
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
19 */
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
20
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
21 #ifndef LIBGADU_DEFLATE_H
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
22 #define LIBGADU_DEFLATE_H
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
23
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
24 #include "libgadu.h"
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
25
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
26 unsigned char *gg_deflate(const char *in, size_t *out_lenp);
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
27 char *gg_inflate(const unsigned char *in, size_t length);
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
28
906428efd520 Forgot two files for the gg 1.11.0 update
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
29 #endif /* LIBGADU_DEFLATE_H */

mercurial