aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-01-28 19:24:45 +0100
committerJay Berkenbilt <ejb@ql.org>2023-01-28 19:24:45 +0100
commitfe11f13d63f9545c47b4f59efa4335f2c3ecf4d9 (patch)
tree01b20ecf45c82f5297f17e3baf34ebdc66d38cc4 /include
parentacfc9db0515559cdcc56104ba1ec2082b09b0b8f (diff)
downloadqpdf-fe11f13d63f9545c47b4f59efa4335f2c3ecf4d9.tar.zst
Add stub for --remove-restrictions
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh1
-rw-r--r--include/qpdf/auto_job_c_main.hh1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index c5cc70b9..01307573 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -604,6 +604,7 @@ class QPDFJob
std::shared_ptr<char> password;
bool linearize{false};
bool decrypt{false};
+ bool remove_restrictions{false};
int split_pages{0};
bool progress{false};
std::function<void(int)> progress_handler{nullptr};
diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh
index 6551e37d..6c661404 100644
--- a/include/qpdf/auto_job_c_main.hh
+++ b/include/qpdf/auto_job_c_main.hh
@@ -35,6 +35,7 @@ QPDF_DLL Config* recompressFlate();
QPDF_DLL Config* removePageLabels();
QPDF_DLL Config* reportMemoryUsage();
QPDF_DLL Config* requiresPassword();
+QPDF_DLL Config* removeRestrictions();
QPDF_DLL Config* showEncryption();
QPDF_DLL Config* showEncryptionKey();
QPDF_DLL Config* showLinearization();