aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-07-22 16:28:40 +0000
committerWerner Koch <[email protected]>2005-07-22 16:28:40 +0000
commita486501c0b848b3de9bc355135f1ffec953e057f (patch)
treee5525626969c81afd367e72502f2830a229c3a97 /g10/options.h
parent* options.h, g10.c (main), keyedit.c (keyedit_menu): Use --interactive (diff)
downloadgnupg-a486501c0b848b3de9bc355135f1ffec953e057f.tar.gz
gnupg-a486501c0b848b3de9bc355135f1ffec953e057f.zip
* gpg.sgml (http):
* g10.c, options.h: New option --exit-on-status-write-error. * status.c (write_status_text): Make use of this option.
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/g10/options.h b/g10/options.h
index db5d5e76d..c278b5d29 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -194,8 +194,13 @@ struct
byte *show_subpackets;
int rfc2440_text;
- int limit_card_insert_tries; /* If > 0, limit the number of card
- insertion prompts to this value. */
+ /* If true, let write failures on the status-fd exit the process. */
+ int exit_on_status_write_error;
+
+ /* If > 0, limit the number of card insertion prompts to this
+ value. */
+ int limit_card_insert_tries;
+
#ifdef ENABLE_CARD_SUPPORT
const char *ctapi_driver; /* Library to access the ctAPI. */
const char *pcsc_driver; /* Library to access the PC/SC system. */