aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-03-18 18:59:47 +0100
committerGitHub <noreply@github.com>2023-03-18 18:59:47 +0100
commita2c7471e66d87751312cd10dba4905307202b56f (patch)
treeb4ae927ef1dea72cb6555de5bc71df09da66bf0a /include
parent84e29026f5ac9bb63180da92944fd8aa1cd0e8d4 (diff)
parentcfcceff6aa921c45c2a3f0fa7a486ed9f02ccc4a (diff)
downloadqpdf-a2c7471e66d87751312cd10dba4905307202b56f.tar.zst
Merge pull request #920 from m-holger/fixqdf_rl
Refactor QdfFixer::processLines
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 c2ad8448..b42fe195 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -485,6 +485,11 @@ namespace QUtil
void read_file_into_memory(
char const* filename, std::shared_ptr<char>& file_buf, size_t& size);
+ QPDF_DLL
+ std::string read_file_into_string(char const* filename);
+ QPDF_DLL
+ std::string read_file_into_string(FILE* f, std::string_view filename = "");
+
// This used to be called strcasecmp, but that is a macro on some
// platforms, so we have to give it a name that is not likely to
// be a macro anywhere.