summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QUtil.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index f92cc7fc..eba4ef61 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -157,6 +157,21 @@ namespace QUtil
// exception will be thrown.
QPDF_DLL
RandomDataProvider* getRandomDataProvider();
+
+ // These routines help the tokenizer recognize certain character
+ // classes without using ctype, which we avoid because of locale
+ // considerations.
+ QPDF_DLL
+ bool is_hex_digit(char);
+
+ QPDF_DLL
+ bool is_space(char);
+
+ QPDF_DLL
+ bool is_digit(char);
+
+ QPDF_DLL
+ bool is_number(char const*);
};
#endif // __QUTIL_HH__