Home GnuPG
Diffusion GPGME 61a0d92b679f

Add public function gpgme_set_pinentry_mode.
61a0d92b679fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add public function gpgme_set_pinentry_mode.

* src/gpgme.c (gpgme_set_pinentry_mode): New.
* src/gpgme.h.in (gpgme_pinentry_t): New.
(gpgme_set_pinentry_mode): New.
* src/context.h (struct gpgme_context): Add field pinentry_mode.
* src/engine-backend.h (struct engine_ops): Add field
set_pinentry_mode.
* src/engine-gpg.c (struct engine_gpg): Add field pinentry_mode.
(build_argv): Implement pinentry_mode.
(gpg_set_pinentry_mode): New.
(_gpgme_engine_ops_gpg): Register gpg_set_pinentry_mode.

Note that this new fucntion may only be used with gpg 2.1.

Details

Provenance
wernerAuthored on Feb 7 2013, 8:59 PM
Parents
rM29eced50687d: Add public function gpgme_io_writen.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM61a0d92b679f: Add public function gpgme_set_pinentry_mode. (authored by Werner Koch <wk@gnupg.org>).Feb 7 2013, 8:59 PM