mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
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.
This commit is contained in:
parent
4483a4f0ea
commit
8b2b8dfe5c
5 changed files with 128 additions and 24 deletions
|
@ -59,6 +59,7 @@ common_sources = \
|
|||
util.h i18n.c i18n.h \
|
||||
estream.c estream.h estream-printf.c estream-printf.h \
|
||||
status.c status.h\
|
||||
shareddefs.h \
|
||||
openpgpdefs.h \
|
||||
gc-opt-flags.h \
|
||||
keyserver.h \
|
||||
|
@ -92,6 +93,7 @@ common_sources = \
|
|||
userids.c userids.h \
|
||||
openpgp-oid.c \
|
||||
ssh-utils.c ssh-utils.h \
|
||||
agent-opt.c \
|
||||
helpfile.c
|
||||
|
||||
# To make the code easier to read we have split home some code into
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue