summaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFTokenizer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFTokenizer.hh')
-rw-r--r--include/qpdf/QPDFTokenizer.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh
index e24b7c43..23f7910d 100644
--- a/include/qpdf/QPDFTokenizer.hh
+++ b/include/qpdf/QPDFTokenizer.hh
@@ -139,7 +139,8 @@ class QPDFTokenizer
QPDF_DLL
Token readToken(PointerHolder<InputSource> input,
std::string const& context,
- bool allow_bad = false);
+ bool allow_bad = false,
+ size_t max_len = 0);
private:
void reset();