aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-06 23:29:22 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-07 14:26:31 +0200
commitb361c5ce19a05ce8da60c767651521a9ce0210e5 (patch)
tree393a50f550bc03a79d74a9b8bc12635215a53dcd /include
parent7604ac5cb2a4756337ed562d2e3284de3e6a8159 (diff)
downloadqpdf-b361c5ce19a05ce8da60c767651521a9ce0210e5.tar.zst
Add --test-json-schema command-line option
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 de0e585d..2f9d1984 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -633,6 +633,7 @@ class QPDFJob
int json_version;
std::set<std::string> json_keys;
std::set<std::string> json_objects;
+ bool test_json_schema;
bool check;
bool optimize_images;
bool externalize_inline_images;
diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh
index 0444ddaa..af400e04 100644
--- a/include/qpdf/auto_job_c_main.hh
+++ b/include/qpdf/auto_job_c_main.hh
@@ -43,6 +43,7 @@ QPDF_DLL Config* staticAesIv();
QPDF_DLL Config* staticId();
QPDF_DLL Config* suppressPasswordRecovery();
QPDF_DLL Config* suppressRecovery();
+QPDF_DLL Config* testJsonSchema();
QPDF_DLL Config* verbose();
QPDF_DLL Config* warningExit0();
QPDF_DLL Config* withImages();