From 76cc7612bdb680590b35d07a62fefe7bd0e99a6e Mon Sep 17 00:00:00 2001 From: Karl-Heinz Zimmer Date: Wed, 17 Apr 2002 15:00:53 +0000 Subject: report both the error-Id and the error-text to the calling program when signing or encrypting of mails could not be done --- gpgmeplug/cryptplug.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gpgmeplug/cryptplug.h') diff --git a/gpgmeplug/cryptplug.h b/gpgmeplug/cryptplug.h index fddaf179..db2d8c07 100644 --- a/gpgmeplug/cryptplug.h +++ b/gpgmeplug/cryptplug.h @@ -1420,10 +1420,12 @@ struct StructuringInfo { \see StructuringInfo, free_StructuringInfo */ bool signMessage( const char* cleartext, - const char** ciphertext, + char** ciphertext, const size_t* cipherLen, const char* certificate, - struct StructuringInfo* structuring ); + struct StructuringInfo* structuring, + int* errId, + char** errTxt ); /*! \ingroup groupSignAct @@ -1515,7 +1517,9 @@ bool encryptMessage( const char* cleartext, const char** ciphertext, const size_t* cipherLen, const char* addressee, - struct StructuringInfo* structuring ); + struct StructuringInfo* structuring, + int* errId, + char** errTxt ); /*! \ingroup groupCryptAct -- cgit v1.2.3