gnupg/scd
Werner Koch 0e8f6e2aa9
gpg: Use gpgrt's new option parser to provide a global conf file.
* common/util.h: Remove argparse.h.
* common/argparse.c: Undef GPGRT_ENABLE_ARGPARSE_MACROS.
* configure.ac (GPGRT_ENABLE_ARGPARSE_MACROS): Define.
* agent/gpg-agent.c: Undef GPGRT_ENABLE_ARGPARSE_MACROS and include
argparse.h.  Do this also for all main modules which use our option
parser except for gpg.  Replace calls to strusage by calls to
gpgrt_strusage everywhere.

* g10/gpg.c (opts): Change type to gpgrt_opt_t.  Flag oOptions and
oNoOptions with ARGPARSE_conffile and ARGPARSE_no_conffile.
(main): Change type of pargs to gpgrt_argparse_t.  Rework the option
parser to make use of the new gpgrt_argparser.
--

This is not yet finished but a make check works.  gpg has the most
complex and oldest option handling and thus this is the first
migration target.  SE-Linux checks and version-ed config files are
missing and will be added later.

GnuPG-bug-id: 4788
Signed-off-by: Werner Koch <wk@gnupg.org>
2020-02-20 11:13:32 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
apdu.c scd,pcsc: Use HANDLE for context and card. 2019-09-17 19:54:52 +09:00
apdu.h scd,pcsc: Remove the restriction of no-scanning in PC/SC. 2019-09-12 08:48:48 +09:00
app-common.h Spelling cleanup. 2020-02-18 18:07:46 -05:00
app-dinsig.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-geldkarte.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-help.c scd: Simplify inclusion of app-common.h. 2019-06-21 11:42:59 +02:00
app-nks.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
app-openpgp.c scd: Disable pinpad if it's impossible by KDF DO. 2020-02-17 17:44:59 +09:00
app-p15.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
app-piv.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
app-sc-hsm.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
ccid-driver.h scd,ccid: Add 08e6:34c2 (GEMPC_EZIO). 2019-10-15 09:40:01 +09:00
command.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
iso7816.c scd: Error code map fix for older Yubikey. 2019-07-22 10:14:21 +09:00
iso7816.h scd:piv: Implement import of private keys for Yubikeys. 2019-03-05 15:49:20 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c gpg: Use gpgrt's new option parser to provide a global conf file. 2020-02-20 11:13:32 +01:00
scdaemon.h build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:50:47 +01:00