From fcc72f915bbafe2e1f1f68be7e79d7b45561da62 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 29 Oct 2003 10:07:44 +0000 Subject: * cardglue.c (open_card): Ask for card insertion. (check_card_serialno): New. (agent_scd_pksign, agent_scd_pkdecrypt): Use it here. * cardglue.c (open_card): Issue insertion status message. * status.h, status.c (STATUS_CARDCTRL): New. * status.c (cpr_get_answer_okay_cancel): New. * miscutil.c (answer_is_okay_cancel): New. --- include/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/util.h') diff --git a/include/util.h b/include/util.h index 08ea7a78e..da2758a02 100644 --- a/include/util.h +++ b/include/util.h @@ -175,6 +175,7 @@ char *make_printable_string( const byte *p, size_t n, int delim ); int answer_is_yes_no_default( const char *s, int def_answer ); int answer_is_yes( const char *s ); int answer_is_yes_no_quit( const char *s ); +int answer_is_okay_cancel (const char *s, int def_answer); /*-- strgutil.c --*/ void free_strlist( STRLIST sl ); -- cgit