diff options
Diffstat (limited to 'gpgme/gpgme.h')
-rw-r--r-- | gpgme/gpgme.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h index 623264df..26fb973c 100644 --- a/gpgme/gpgme.h +++ b/gpgme/gpgme.h @@ -30,7 +30,7 @@ #endif #ifdef __cplusplus -extern "C" { +extern "C" { #if 0 /* just to make Emacs auto-indent happy */ } #endif @@ -235,6 +235,12 @@ void gpgme_set_include_certs (GpgmeCtx ctx, int nr_of_certs); /* Return the number of certs to include in an S/MIME message. */ int gpgme_get_include_certs (GpgmeCtx ctx); +/* Sets the algorithm to be used for signatures. */ +void gpgme_set_signature_algorithm( GpgmeCtx ctx, int signAlgo ); + +/* Return the algorithm to be used for signatures. */ +int gpgme_get_signature_algorithm( GpgmeCtx ctx ); + /* Set keylist mode in CTX to MODE. */ GpgmeError gpgme_set_keylist_mode (GpgmeCtx ctx, int mode); |