summaryrefslogtreecommitdiffstats
path: root/scd/atr.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-12-15 14:47:04 +0100
committerWerner Koch <wk@gnupg.org>2011-12-15 15:21:02 +0100
commitb22d62bd1481dfe13d60a6d16b09b9297944f063 (patch)
tree62059d23125fda3ba2cd2369556df9933011fd53 /scd/atr.h
parentestream: New function es_fclose_snatch. (diff)
downloadgnupg2-b22d62bd1481dfe13d60a6d16b09b9297944f063.tar.xz
gnupg2-b22d62bd1481dfe13d60a6d16b09b9297944f063.zip
scd: Add option --dump-atr to command APDU.
* scd/atr.c: Rewrite. * scd/Makefile.am (scdaemon_SOURCES): Add atr.c and atr.h. * scd/command.c (cmd_apdu): Add option --dump-atr.
Diffstat (limited to 'scd/atr.h')
-rw-r--r--scd/atr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/atr.h b/scd/atr.h
index 5f07522d1..b06a83a60 100644
--- a/scd/atr.h
+++ b/scd/atr.h
@@ -20,7 +20,7 @@
#ifndef ATR_H
#define ATR_H
-int atr_dump (int slot, FILE *fp);
+char *atr_dump (const void *buffer, size_t buflen);