aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/qpdf-c.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/qpdf-c.h b/include/qpdf/qpdf-c.h
index 4773809e..a6002a92 100644
--- a/include/qpdf/qpdf-c.h
+++ b/include/qpdf/qpdf-c.h
@@ -180,6 +180,14 @@ extern "C" {
QPDF_DLL
void qpdf_set_suppress_warnings(qpdf_data qpdf, QPDF_BOOL value);
+ /* CHECK FUNCTIONS */
+
+ /* Attempt to read the entire PDF file to see if there are any
+ * errors qpdf can detect.
+ */
+ QPDF_DLL
+ QPDF_ERROR_CODE qpdf_check_pdf(qpdf_data qpdf);
+
/* READ FUNCTIONS */
/* READ PARAMETER FUNCTIONS -- must be called before qpdf_read */