| // Copyright 2020 PDFium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef PUBLIC_FPDF_SIGNATURE_H_ |
| #define PUBLIC_FPDF_SIGNATURE_H_ |
| |
| // NOLINTNEXTLINE(build/include) |
| #include "fpdfview.h" |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif // __cplusplus |
| |
| // Experimental API. |
| // Function: FPDF_GetSignatureCount |
| // Get total number of signatures in the document. |
| // Parameters: |
| // document - Handle to document. Returned by FPDF_LoadDocument(). |
| // Return value: |
| // Total number of signatures in the document on success, -1 on error. |
| FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSignatureCount(FPDF_DOCUMENT document); |
| |
| #ifdef __cplusplus |
| } // extern "C" |
| #endif // __cplusplus |
| |
| #endif // PUBLIC_FPDF_SIGNATURE_H_ |