summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-07-30 04:23:21 +0200
committerJay Berkenbilt <ejb@ql.org>2017-07-30 04:23:21 +0200
commit2d5b854468c2612dcfe45a659b85d92db2672cbe (patch)
treee4f8a85b520969d5236bb3f057feea94441a4f92 /include
parent5993c3e83c6f83b36045c75a03ffb1da3d1d283c (diff)
downloadqpdf-2d5b854468c2612dcfe45a659b85d92db2672cbe.tar.zst
Allow reading command-line args from files (fixes #16)
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QUtil.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index 98784a37..87904ea1 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -161,6 +161,11 @@ namespace QUtil
QPDF_DLL
RandomDataProvider* getRandomDataProvider();
+ QPDF_DLL
+ std::list<std::string> read_lines_from_file(char const* filename);
+ QPDF_DLL
+ std::list<std::string> read_lines_from_file(std::istream&);
+
// These routines help the tokenizer recognize certain character
// classes without using ctype, which we avoid because of locale
// considerations.