From b361c5ce19a05ce8da60c767651521a9ce0210e5 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 6 May 2022 17:29:22 -0400 Subject: Add --test-json-schema command-line option --- include/qpdf/QPDFJob.hh | 1 + include/qpdf/auto_job_c_main.hh | 1 + 2 files changed, 2 insertions(+) (limited to 'include') 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 json_keys; std::set 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(); -- cgit v1.2.3-54-g00ecf