Home GnuPG
Diffusion GnuPG 8b2b8dfe5c4c

agent: Move a typedef to common and provide parse_pinentry_mode.
8b2b8dfe5c4cUnpublished

Unpublished Commit · Learn More

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

Description

agent: Move a typedef to common and provide parse_pinentry_mode.

* common/agent-opt.c: New.
* common/shareddefs.h: New.
* common/Makefile.am: Add new files.
* agent/agent.h: Include shareddefs.h.
(pinentry_mode_t): Factor out to shareddefs.h.
* agent/command.c (option_handler): Use parse_pinentry_mode.

Details

Provenance
wernerAuthored on Feb 6 2013, 12:49 PM
Parents
rG4483a4f0ea03: agent: Return a better error code if no passphrase was given.
Branches
Unknown
Tags
Unknown

Event Timeline