ZOOM: special options to control APDU logging
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 21 Nov 2012 14:49:55 +0000 (15:49 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 21 Nov 2012 14:53:47 +0000 (15:53 +0100)
commit411c62d6ff8ded6e1ef68eebea9d9bbaaac360fd
tree63493777b375d036456dc0943b76eec941ec3f13
parent79f02618682f616509d80665126918a07d1f9e80
ZOOM: special options to control APDU logging

Using ZOOM_connection_option_set(c, "saveAPDU", "1") will enable
logging of APDUs until "saveAPDU" option is set again. If logging is
already enabled the effect is that current APDU buffer is cleared.
Using ZOOM_connection_option_set(c, "saveAPDU", "0") disables
logging (default behavior on new connection).
The APDUs sent/received can be obtained by using
Using ZOOM_connection_option_get(c, "APDU") or
ZOOM_connection_option_getl(c, "APDU", &l).
src/zoom-c.c
src/zoom-p.h
zoom/zoomtst1.c