Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: core/fxcodec/include/fx_codec_flate.h

Issue 1864153002: Move include/fxcodec to fxcodec/include (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fxcodec/include/fx_codec_def.h ('k') | core/fxcodec/jbig2/JBig2_Context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_FLATE_H_ 7 #ifndef CORE_FXCODEC_INCLUDE_FX_CODEC_FLATE_H_
8 #define CORE_INCLUDE_FXCODEC_FX_CODEC_FLATE_H_ 8 #define CORE_FXCODEC_INCLUDE_FX_CODEC_FLATE_H_
9 9
10 #include "third_party/zlib_v128/zlib.h" 10 #include "third_party/zlib_v128/zlib.h"
11 11
12 #ifdef __cplusplus 12 #ifdef __cplusplus
13 extern "C" { 13 extern "C" {
14 #endif 14 #endif
15 15
16 // Note: Some of these return Z_* status codes from zlib.h. 16 // Note: Some of these return Z_* status codes from zlib.h.
17 void* FPDFAPI_FlateInit(void* (*alloc_func)(void*, unsigned int, unsigned int), 17 void* FPDFAPI_FlateInit(void* (*alloc_func)(void*, unsigned int, unsigned int),
18 void (*free_func)(void*, void*)); 18 void (*free_func)(void*, void*));
19 void FPDFAPI_FlateInput(void* context, 19 void FPDFAPI_FlateInput(void* context,
20 const unsigned char* src_buf, 20 const unsigned char* src_buf,
21 unsigned int src_size); 21 unsigned int src_size);
22 int FPDFAPI_FlateOutput(void* context, 22 int FPDFAPI_FlateOutput(void* context,
23 unsigned char* dest_buf, 23 unsigned char* dest_buf,
24 unsigned int dest_size); 24 unsigned int dest_size);
25 int FPDFAPI_FlateGetAvailIn(void* context); 25 int FPDFAPI_FlateGetAvailIn(void* context);
26 int FPDFAPI_FlateGetAvailOut(void* context); 26 int FPDFAPI_FlateGetAvailOut(void* context);
27 void FPDFAPI_FlateEnd(void* context); 27 void FPDFAPI_FlateEnd(void* context);
28 28
29 #ifdef __cplusplus 29 #ifdef __cplusplus
30 } // extern "C" 30 } // extern "C"
31 #endif 31 #endif
32 32
33 #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_FLATE_H_ 33 #endif // CORE_FXCODEC_INCLUDE_FX_CODEC_FLATE_H_
OLDNEW
« no previous file with comments | « core/fxcodec/include/fx_codec_def.h ('k') | core/fxcodec/jbig2/JBig2_Context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698