diff options
Diffstat (limited to 'gpgme/gpgme.h')
-rw-r--r-- | gpgme/gpgme.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h index 73744922..cecb912c 100644 --- a/gpgme/gpgme.h +++ b/gpgme/gpgme.h @@ -21,6 +21,7 @@ #ifndef GPGME_H #define GPGME_H +#include <stdio.h> /* for FILE * */ #ifdef _MSC_VER typedef long off_t; #else @@ -103,7 +104,8 @@ typedef enum { GPGME_SIG_STAT_BAD = 2, GPGME_SIG_STAT_NOKEY = 3, GPGME_SIG_STAT_NOSIG = 4, - GPGME_SIG_STAT_ERROR = 5 + GPGME_SIG_STAT_ERROR = 5, + GPGME_SIG_STAT_DIFF = 6 } GpgmeSigStat; typedef enum { @@ -165,6 +167,12 @@ void gpgme_signers_clear (GpgmeCtx c); GpgmeError gpgme_signers_add (GpgmeCtx c, const GpgmeKey key); GpgmeKey gpgme_signers_enum (const GpgmeCtx c, int seq); +const char *gpgme_get_sig_status (GpgmeCtx c, int idx, + GpgmeSigStat *r_stat, time_t *r_created ); +GpgmeError gpgme_get_sig_key (GpgmeCtx c, int idx, GpgmeKey *r_key); + + + /* Functions to handle recipients */ GpgmeError gpgme_recipients_new (GpgmeRecipients *r_rset); |