diff options
author | Werner Koch <[email protected]> | 2016-08-13 10:49:54 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-13 11:49:41 +0000 |
commit | b57f55321295846d47144bd6b39fbbcac0127421 (patch) | |
tree | 4469af47dd36b04c9e1a4309f127d02194b1ff54 /common/status.h | |
parent | Avoid leading ": " in the log output when there are no prefixes. (diff) | |
download | gnupg-b57f55321295846d47144bd6b39fbbcac0127421.tar.gz gnupg-b57f55321295846d47144bd6b39fbbcac0127421.zip |
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 <[email protected]>
Diffstat (limited to 'common/status.h')
-rw-r--r-- | common/status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/status.h b/common/status.h index f9771c208..079a04ac6 100644 --- a/common/status.h +++ b/common/status.h @@ -142,6 +142,7 @@ enum STATUS_TRUNCATED, STATUS_MOUNTPOINT, + STATUS_BLOCKDEV, STATUS_PINENTRY_LAUNCHED, |