Home GnuPG

argparse: Make getreg meta command work on Unix.

Description

argparse: Make getreg meta command work on Unix.

* src/argparse.c (_gpgrt_argparse_internal_s): Add fields no_registry
and registry.
(initialize): Init them.
(emulated_registry_lookup): New.
(handle_meta_getenv): Use it.
* tests/etc/t-argparse.conf: Add a getreg meta command.
* tests/t-argparse.c (opt): Add a disable-akr command.
* tests/etc/Registry: New.

Details

Provenance
wernerAuthored on Mon, Apr 7, 4:27 PM
Parents
rEd0b7d3353673: Add a section mode to the name-value functions.
Branches
Unknown
Tags
Unknown