diff options
Diffstat (limited to 'trunk/gpgme/gpgme.h')
-rw-r--r-- | trunk/gpgme/gpgme.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/gpgme/gpgme.h b/trunk/gpgme/gpgme.h index ef0434b8..0071f06b 100644 --- a/trunk/gpgme/gpgme.h +++ b/trunk/gpgme/gpgme.h @@ -798,6 +798,16 @@ GpgmeError gpgme_op_encrypt_sign (GpgmeCtx ctx, GpgmeData plain, GpgmeData cipher); +/* Decryption. */ +struct _gpgme_op_decrypt_result +{ + char *unsupported_algorithm; +}; +typedef struct _gpgme_op_decrypt_result *GpgmeDecryptResult; + +/* Retrieve a pointer to the result of the decrypt operation. */ +GpgmeDecryptResult gpgme_op_decrypt_result (GpgmeCtx ctx); + /* Decrypt ciphertext CIPHER within CTX and store the resulting plaintext in PLAIN. */ GpgmeError gpgme_op_decrypt_start (GpgmeCtx ctx, |