Clean up CPDF_AnnotList.
[pdfium.git] / core / include / fxcodec / fx_codec_flate.h
1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "../../../third_party/zlib_v128/zlib.h"
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 // Note: Some of these return Z_* status codes from zlib.h.
14 void* FPDFAPI_FlateInit(void* (*alloc_func)(void*, unsigned int, unsigned int),
15                         void (*free_func)(void*, void*));
16 void FPDFAPI_FlateInput(void* context,
17                         const unsigned char* src_buf,
18                         unsigned int src_size);
19 int FPDFAPI_FlateOutput(void* context,
20                         unsigned char* dest_buf,
21                         unsigned int dest_size);
22 int FPDFAPI_FlateGetAvailIn(void* context);
23 int FPDFAPI_FlateGetAvailOut(void* context);
24 void FPDFAPI_FlateEnd(void* context);
25
26 #ifdef __cplusplus
27 }  // extern "C"
28 #endif