From 0698c5169fca5b7969e6b0fa4de22b693e7fd2e4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 17 Oct 2008 19:18:46 +0000 Subject: Use more warning options with modern GCCs. Other minor changes. --- scd/command.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'scd/command.c') diff --git a/scd/command.c b/scd/command.c index 7d2515474..4c55e6167 100644 --- a/scd/command.c +++ b/scd/command.c @@ -1638,6 +1638,19 @@ cmd_restart (assuan_context_t ctx, char *line) } +/* DISCONNECT + + TBD + +*/ +static int +cmd_disconnect (assuan_context_t ctx, char *line) +{ + return gpg_error (GPG_ERR_NOT_IMPLEMENTED); +} + + + /* APDU [--atr] [--more] [hexstring] Send an APDU to the current reader. This command bypasses the high @@ -1756,6 +1769,7 @@ register_commands (assuan_context_t ctx) { "UNLOCK", cmd_unlock }, { "GETINFO", cmd_getinfo }, { "RESTART", cmd_restart }, + { "DISCONNECT", cmd_disconnect }, { "APDU", cmd_apdu }, { NULL } }; -- cgit v1.2.3