~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to lib/content_encoding.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-05-24 21:12:19 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090524211219-7jgcwuhl04ixuqsm
Tags: upstream-7.19.5
ImportĀ upstreamĀ versionĀ 7.19.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __CURL_CONTENT_ENCODING_H
 
2
#define __CURL_CONTENT_ENCODING_H
1
3
/***************************************************************************
2
4
 *                                  _   _ ____  _
3
5
 *  Project                     ___| | | |  _ \| |
5
7
 *                            | (__| |_| |  _ <| |___
6
8
 *                             \___|\___/|_| \_\_____|
7
9
 *
8
 
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
9
11
 *
10
12
 * This software is licensed as described in the file COPYING, which
11
13
 * you should have received as part of this distribution. The terms
18
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
21
 * KIND, either express or implied.
20
22
 *
21
 
 * $Id: content_encoding.h,v 1.10 2007-11-24 23:16:55 bagder Exp $
 
23
 * $Id: content_encoding.h,v 1.12 2009-05-11 09:55:28 bagder Exp $
22
24
 ***************************************************************************/
23
25
#include "setup.h"
24
26
 
27
29
 */
28
30
#ifdef HAVE_LIBZ
29
31
#define ALL_CONTENT_ENCODINGS "deflate, gzip"
 
32
/* force a cleanup */
 
33
void Curl_unencode_cleanup(struct connectdata *conn);
30
34
#else
31
35
#define ALL_CONTENT_ENCODINGS "identity"
 
36
#define Curl_unencode_cleanup(x)
32
37
#endif
33
38
 
34
39
CURLcode Curl_unencode_deflate_write(struct connectdata *conn,
39
44
Curl_unencode_gzip_write(struct connectdata *conn,
40
45
                         struct SingleRequest *k,
41
46
                         ssize_t nread);
 
47
 
 
48
 
 
49
#endif