aboutsummaryrefslogtreecommitdiff
path: root/libcacard/vcardt.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-03-05 16:27:43 +0200
committerAlon Levy <alevy@redhat.com>2013-04-24 11:48:03 +0300
commit0b6a16c1a47b622b1a692ab179013d9e30e9cf3b (patch)
tree06dba3ec6c9f1d17c593a3da45c18cce1f45a299 /libcacard/vcardt.h
parent7a6858962457c54be44715d6562504c765d9ea76 (diff)
libcacard: move atr setting from macro to function
Only because qemu's checkpatch complains about it. Signed-off-by: Alon Levy <alevy@redhat.com> Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
Diffstat (limited to 'libcacard/vcardt.h')
-rw-r--r--libcacard/vcardt.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libcacard/vcardt.h b/libcacard/vcardt.h
index 3b9a6199c0..795e265304 100644
--- a/libcacard/vcardt.h
+++ b/libcacard/vcardt.h
@@ -25,19 +25,6 @@ typedef struct VCardEmulStruct VCardEmul;
#define MAX_CHANNEL 4
-/* create an ATR with appropriate historical bytes */
-#define TS_DIRECT_CONVENTION 0x3b
-#define TA_PRESENT 0x10
-#define TB_PRESENT 0x20
-#define TC_PRESENT 0x40
-#define TD_PRESENT 0x80
-
-#define VCARD_ATR_PREFIX(size) \
- TS_DIRECT_CONVENTION, \
- TD_PRESENT + (6 + size), \
- 0x00, \
- 'V', 'C', 'A', 'R', 'D', '_'
-
typedef enum {
VCARD_DONE,
VCARD_NEXT,