content_encoding.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURL_CONTENT_ENCODING_H
00002 #define HEADER_CURL_CONTENT_ENCODING_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 #include "curl_setup.h"
00025 
00026 /*
00027  * Comma-separated list all supported Content-Encodings ('identity' is implied)
00028  */
00029 #ifdef HAVE_LIBZ
00030 #define ALL_CONTENT_ENCODINGS "deflate, gzip"
00031 /* force a cleanup */
00032 void Curl_unencode_cleanup(struct connectdata *conn);
00033 #else
00034 #define ALL_CONTENT_ENCODINGS "identity"
00035 #define Curl_unencode_cleanup(x) Curl_nop_stmt
00036 #endif
00037 
00038 CURLcode Curl_unencode_deflate_write(struct connectdata *conn,
00039                                      struct SingleRequest *req,
00040                                      ssize_t nread);
00041 
00042 CURLcode
00043 Curl_unencode_gzip_write(struct connectdata *conn,
00044                          struct SingleRequest *k,
00045                          ssize_t nread);
00046 
00047 
00048 #endif /* HEADER_CURL_CONTENT_ENCODING_H */


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02