From f2eeccbdfaf855a81abb92abe5ab4c702712bac7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 18 Jun 2013 10:27:46 +0200 Subject: Add function gpgme_signers_count. * src/signers.c (gpgme_signers_count): New. * src/libgpgme.vers, src/gpgme.def: Add as external symbol. * src/gpgme.h.in: Add prototype. --- src/gpgme.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gpgme.h.in') diff --git a/src/gpgme.h.in b/src/gpgme.h.in index 11780d11..f644a509 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -934,6 +934,9 @@ void gpgme_signers_clear (gpgme_ctx_t ctx); /* Add KEY to list of signers in CTX. */ gpgme_error_t gpgme_signers_add (gpgme_ctx_t ctx, const gpgme_key_t key); +/* Return the number of signers in CTX. */ +unsigned int gpgme_signers_count (const gpgme_ctx_t ctx); + /* Return the SEQth signer's key in CTX. */ gpgme_key_t gpgme_signers_enum (const gpgme_ctx_t ctx, int seq); -- cgit v1.2.3