aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/cryptplug.h
diff options
context:
space:
mode:
authorKarl-Heinz Zimmer <[email protected]>2002-04-17 15:00:53 +0000
committerKarl-Heinz Zimmer <[email protected]>2002-04-17 15:00:53 +0000
commit76cc7612bdb680590b35d07a62fefe7bd0e99a6e (patch)
tree3a7baefdd45ad90b1620f0799ef1310b178dc9bb /gpgmeplug/cryptplug.h
parentImplemented requesting certs (diff)
downloadgpgme-76cc7612bdb680590b35d07a62fefe7bd0e99a6e.tar.gz
gpgme-76cc7612bdb680590b35d07a62fefe7bd0e99a6e.zip
report both the error-Id and the error-text to the calling program when signing or encrypting of mails could not be done
Diffstat (limited to 'gpgmeplug/cryptplug.h')
-rw-r--r--gpgmeplug/cryptplug.h10
1 files changed, 7 insertions, 3 deletions
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