aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-07-30 02:19:54 +0200
committerJay Berkenbilt <ejb@ql.org>2017-07-30 02:58:01 +0200
commit5993c3e83c6f83b36045c75a03ffb1da3d1d283c (patch)
tree8854661becc586fff8ba07a99d616153f508d43a /include
parent885b8781cccdc9d4402af58176e826a354b5ef7a (diff)
downloadqpdf-5993c3e83c6f83b36045c75a03ffb1da3d1d283c.tar.zst
Detect input file = output file (fixes #29)
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QUtil.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index eba4ef61..98784a37 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -75,6 +75,9 @@ namespace QUtil
qpdf_offset_t tell(FILE* stream);
QPDF_DLL
+ bool same_file(char const* name1, char const* name2);
+
+ QPDF_DLL
char* copy_string(std::string const&);
// Returns lower-case hex-encoded version of the string, treating