summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-19 10:28:50 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-19 10:28:50 -0700
commit71c15a5e6652952a94ba3a3ef7ac0392e3a06962 (patch)
treec6983e985c49e4f30906082b73045db14d8cb481 /core/include
parenta2b3ae23556fb2f1adbc008574f33bf365476af9 (diff)
downloadpdfium-71c15a5e6652952a94ba3a3ef7ac0392e3a06962.tar.xz
Extern in .cpp files is a code smell.
Part 1. Move to headers so compiler can type check against the definitions. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1299963002 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index a83cec194c..ab48a95255 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -801,6 +801,14 @@ void FlateEncode(const uint8_t* src_buf,
FX_DWORD src_size,
uint8_t*& dest_buf,
FX_DWORD& dest_size);
+void FlateEncode(const uint8_t* src_buf,
+ FX_DWORD src_size,
+ int predictor,
+ int Colors,
+ int BitsPerComponent,
+ int Columns,
+ uint8_t*& dest_buf,
+ FX_DWORD& dest_size);
FX_DWORD FlateDecode(const uint8_t* src_buf,
FX_DWORD src_size,
uint8_t*& dest_buf,
@@ -809,6 +817,8 @@ FX_DWORD RunLengthDecode(const uint8_t* src_buf,
FX_DWORD src_size,
uint8_t*& dest_buf,
FX_DWORD& dest_size);
+FX_BOOL IsSignatureDict(const CPDF_Dictionary* pDict);
+
class CPDF_NumberTree {
public:
CPDF_NumberTree(CPDF_Dictionary* pRoot) { m_pRoot = pRoot; }