diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-07-30 02:19:54 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-07-30 02:58:01 +0200 |
commit | 5993c3e83c6f83b36045c75a03ffb1da3d1d283c (patch) | |
tree | 8854661becc586fff8ba07a99d616153f508d43a /include | |
parent | 885b8781cccdc9d4402af58176e826a354b5ef7a (diff) | |
download | qpdf-5993c3e83c6f83b36045c75a03ffb1da3d1d283c.tar.zst |
Detect input file = output file (fixes #29)
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QUtil.hh | 3 |
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 |