1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Use more warning options with modern GCCs.

Other minor changes.
This commit is contained in:
Werner Koch 2008-10-17 19:18:46 +00:00
parent dd96bd44d4
commit 0698c5169f
14 changed files with 82 additions and 11 deletions

View file

@ -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 }
};