Home GnuPG
Diffusion GnuPG b57f55321295

g13: New command --find-device.
b57f55321295Unpublished

Unpublished Commit · Learn More

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

Description

g13: New command --find-device.

* common/status.h (STATUS_BLOCKDEV: New.
* g13/call-syshelp.c: Include "call-syshelp.h".
(finddevice_status_cb, call_syshelp_find_device): New.
* g13/g13.c (aFindDevice): New.
(opts): Add "--find-device".
(main): Implement --find-device.
* g13/sh-cmd.c (cmd_finddevice): New.
(register_commands): Register new command.

This might be useful for scripting.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 13 2016, 12:49 PM
Parents
rG3a75ff65fba2: Avoid leading ": " in the log output when there are no prefixes.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb57f55321295: g13: New command --find-device. (authored by Werner Koch <wk@gnupg.org>).Aug 13 2016, 1:49 PM