aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to 'scd')
-rw-r--r--scd/ChangeLog5
-rw-r--r--scd/command.c14
2 files changed, 19 insertions, 0 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index b0550cd26..05dcb105d 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-16 Werner Koch <[email protected]>
+
+ * command.c (cmd_disconnect): New dummy command.
+ (register_commands): Register command.
+
2008-10-15 Werner Koch <[email protected]>
* command.c (scd_command_handler): Return true if there is no more
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 }
};