summaryrefslogtreecommitdiff
path: root/card_7816.h
AgeCommit message (Collapse)AuthorFilesLines
2010-12-09libcaccard: coding style: s/VCard7816Status/vcard_7816_status_t/Alon Levy1-2/+2
2010-12-09libcaccard: coding style: 80 widthAlon Levy1-6/+10
2010-12-09libcaccard: remove duplicate function declarationsAlon Levy1-17/+0
2010-10-03passthru and multiple reader support.Robert Relyea1-5/+10
New Features, library: - added passthru mode: pass thru can be used either as a card_type and an existing emulator, or as it's own emulator. When used as it's own emulator, only the passhthru card type is supported. Enabling Passhtru is a compile time option (you can build without it). It is still selected for at run-time - added argument parsing code for the NSS emulator. This allows the argument structure to move back to the emulator dependent directory. (This allows other emulators to be implemented without the application needing to know about emulator specific stuff. - added functions to get the reader name and id, and have the caller set the reader id. - added vevent_get_next_vevent() - non-blocking event grabber. - added string arguments to the card_type_init functions (currently not used). - added VCARD_DIRECT card type which passes all the apdus the the card type's last applet. - added function to optionally get the ATR from the card type emul instead of the emulator. NOTE: apps should now call vcard_get_atr rather than vcard_emul_get_atr. - Fixed the VCARD_ATR_PREFIX to take a constant signifying the number of additional historical bytes for the card emulator. - added usage statment. New Features, vscclient.c - vscclient now handles multiple readers, assuming multiple readers are defined in qemu. - vscclient now calls the emul to parse the command line arguments. - vscclient has an option to enable passthru - vscclient now passes the real reader name to qemu - vscclient has 2 new commands: debug [level] -- sets the various levels of debugging output on the fly. list -- lists all the active readers, their card state and their name.
2010-08-05README, soft card updates, pin fix, applet reset, manual insert and remove.Robert Relyea1-3/+4
1. Updated and more detailed README. I presume this would be helpful in putting things upstream. 2. I've added a parser to take some arguments to initialize soft cards. Unfortunately it's completely untested, so I haven't hooked it up. 3. Patches to fix two of the problems you found this morning (pin problems and no applet reset). 4. A little more indirection so that new card types can be added without touching a lot of code (README has instructions). This added 2 new files. 5. I've added the ability to manually insert and remove inserted cards from vscclient.c as commands from standard in. This too is untested, so if things go south, this is the first patch to back out.
2010-07-28white space fixesAlon Levy1-1/+1
2010-07-28initialRobert Relyea1-0/+67