diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-07-30 04:23:21 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-07-30 04:23:21 +0200 |
commit | 2d5b854468c2612dcfe45a659b85d92db2672cbe (patch) | |
tree | e4f8a85b520969d5236bb3f057feea94441a4f92 /include | |
parent | 5993c3e83c6f83b36045c75a03ffb1da3d1d283c (diff) | |
download | qpdf-2d5b854468c2612dcfe45a659b85d92db2672cbe.tar.zst |
Allow reading command-line args from files (fixes #16)
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QUtil.hh | 5 |
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. |