Directory examples/

Directory Created:
2004-05-24 11:56
Total Files:
3
Deleted Files:
1
Lines of Code:
1119

[root]/examples

Lines of Code

examples/ Lines of Code

Developers

AuthorChangesLines of CodeLines per Change
rousseau75 (100.0%)1393 (100.0%)18.5

Most Recent Commits

rousseau 2010-09-14 11:31 Rev.: 5253

No need to use HOST_TO_CCID_16() and HOST_TO_CCID_32() since revision 5252

6 lines of code changed in 1 file:

  • examples: scardcontrol.c (+6 -6)
rousseau 2010-05-07 14:38 Rev.: 4927

Reformat output

13 lines of code changed in 1 file:

  • examples: scardcontrol.c (+13 -11)
rousseau 2010-03-30 11:46 Rev.: 4846

add support of FEATURE_GET_TLV_PROPERTIES

175 lines of code changed in 1 file:

  • examples: scardcontrol.c (+175 -20)
rousseau 2010-03-12 17:42 Rev.: 4814

Rename Gemplus in Gemalto

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2009-12-15 11:18 Rev.: 4614

rename FEATURE_MCT_READERDIRECT in FEATURE_MCT_READER_DIRECT

4 lines of code changed in 1 file:

  • examples: scardcontrol.c (+4 -4)
rousseau 2009-09-22 10:12 Rev.: 4390

sample code is GPLv2+

340 lines of code changed in 2 files:

  • examples: GPL-2 (new 339), Makefile.am (+1)
rousseau 2009-07-21 19:54 Rev.: 4341

send a "secoder info" command if the reader supports
FEATURE_MCT_READERDIRECT

19 lines of code changed in 1 file:

  • examples: scardcontrol.c (+19 -4)
rousseau 2009-07-21 19:45 Rev.: 4340

parse FEATURE_IFD_PIN_PROPERTIES and FEATURE_MCT_READERDIRECT tags

14 lines of code changed in 1 file:

  • examples: scardcontrol.c (+14)
rousseau 2009-07-21 19:29 Rev.: 4339

use a swicth to parse the CM_IOCTL_GET_FEATURE_REQUEST TLV tag

9 lines of code changed in 1 file:

  • examples: scardcontrol.c (+9 -4)
rousseau 2009-07-21 19:26 Rev.: 4338

check a card is present only _after_
SCardControl(CM_IOCTL_GET_FEATURE_REQUEST)

20 lines of code changed in 1 file:

  • examples: scardcontrol.c (+20 -20)
rousseau 2009-07-21 16:39 Rev.: 4337

update copyright date

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2009-07-21 16:36 Rev.: 4336

document how to select a reader using a command line argument

3 lines of code changed in 1 file:

  • examples: scardcontrol.c (+3)
rousseau 2009-07-21 16:31 Rev.: 4335

check the error code returned by SCardControl(CM_IOCTL_GET_FEATURE_REQUEST)

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1)
rousseau 2009-03-21 16:07 Rev.: 3356

add support of PIN_PROPERTIES_STRUCTURE structure and
FEATURE_IFD_PIN_PROPERTIES

Thanks to Martin Paljak for the patch

3 lines of code changed in 1 file:

  • examples: scardcontrol.c (+3 -3)
rousseau 2008-11-08 17:39 Rev.: 3194

typo in comment

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2008-11-08 12:58 Rev.: 3193

get the GemPC firmware only if GET_GEMPC_FIRMWARE is #define

3 lines of code changed in 1 file:

  • examples: scardcontrol.c (+3)
rousseau 2008-05-28 20:32 Rev.: 2974

update Free Software Foundation mail address

3 lines of code changed in 1 file:

  • examples: scardcontrol.c (+3 -3)
rousseau 2008-04-30 14:26 Rev.: 2922

exit if no card is present

9 lines of code changed in 1 file:

  • examples: scardcontrol.c (+9 -3)
rousseau 2007-10-15 09:45 Rev.: 2653

use SCARD_LEAVE_CARD instead of SCARD_UNPOWER_CARD for SCardReconnect()
since SCardReconnect() returns SCARD_W_REMOVED_CARD on Mac OS X 10.4

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2007-09-28 14:08 Rev.: 2629

use $(PTHREAD_CFLAGS) and $(PTHREAD_LIBS) since the thread library must
be explicitly used on *BSD

2 lines of code changed in 1 file:

  • examples: Makefile.am (+2 -2)
rousseau 2007-07-05 11:06 Rev.: 2597

add support for Mac OS X

5 lines of code changed in 1 file:

  • examples: scardcontrol.c (+5)
rousseau 2007-07-02 15:06 Rev.: 2593

update version and copyright date

2 lines of code changed in 1 file:

  • examples: scardcontrol.c (+2 -2)
rousseau 2007-07-02 15:06 Rev.: 2592

remove compilation warnings

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2007-07-02 15:05 Rev.: 2591

do not free() unallocated memory

5 lines of code changed in 1 file:

  • examples: scardcontrol.c (+5 -3)
rousseau 2007-07-02 15:03 Rev.: 2590

use PCSC_ERROR_EXIT() for SCardListReaders() call

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -4)
rousseau 2007-07-02 14:44 Rev.: 2585

display an explicit message when no card is present

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2007-02-23 18:16 Rev.: 2422

remove a redundant declaration of i
scardcontrol.c:486: attention : declaration of �i� shadows a previous
local

0 lines of code changed in 1 file:

  • examples: scardcontrol.c (-1)
rousseau 2007-02-20 15:38 Rev.: 2407

Secure modify PIN: add a bConfirmPIN and bNumberMessage table

9 lines of code changed in 1 file:

  • examples: scardcontrol.c (+9 -3)
rousseau 2007-02-20 15:25 Rev.: 2405

set max pin size to 8 instead of 4

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2007-01-06 23:54 Rev.: 2316

use LPSTR instead or the deprecated LPTSTR

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2006-07-31 17:10 Rev.: 2116

use ntohl/htonl from arpa/inet.h since the tag value for
IOCTL_FEATURE_VERIFY_PIN_DIRECT and IOCTL_FEATURE_MODIFY_PIN_DIRECT
_shall_ be encoded in big endian as documented in PCSC v2 part 10 ch 2.2
page 2.

The applications using this feature shall be updated (to respect the
PCSC specification)

Thanks to Ulrich Vogl for the bug report

3 lines of code changed in 1 file:

  • examples: scardcontrol.c (+3 -2)
rousseau 2006-05-04 15:14 Rev.: 2039

Use a timeout of 0.1 second instead of 0 for waiting characters from the
keyboard

4 lines of code changed in 1 file:

  • examples: scardcontrol.c (+4 -4)
rousseau 2006-03-27 16:46 Rev.: 1985

Modify PIN: use a for() loop instead of 3 fgets() since we will not read
every "PIN" if the command is aborted

17 lines of code changed in 1 file:

  • examples: scardcontrol.c (+17 -20)
rousseau 2006-01-30 16:46 Rev.: 1845

use $(foo) instead of @foo@ to do not replace the values but the variables

2 lines of code changed in 1 file:

  • examples: Makefile.am (+2 -2)
rousseau 2005-11-29 14:21 Rev.: 1771

remove PCSC/ from the pcsc-lite #include header files since the PCSC/
part is already given by `pkg-config --cflags libpcsclite`

2 lines of code changed in 1 file:

  • examples: scardcontrol.c (+2 -2)
rousseau 2005-11-24 18:15 Rev.: 1751

update copyright date

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2005-11-24 18:14 Rev.: 1750

in Modify PIN command we need to read 3 lines from the keyboard (old,
new and confirm PINs)

9 lines of code changed in 1 file:

  • examples: scardcontrol.c (+9)
rousseau 2005-11-24 18:12 Rev.: 1749

use a buffer of 40 instead of 10 to reader the keyboard since the PIN
may be longer than 8 digits

2 lines of code changed in 1 file:

  • examples: scardcontrol.c (+2 -2)
rousseau 2005-11-24 17:32 Rev.: 1743

my check if the applet is present was wrong

1 lines of code changed in 1 file:

  • examples: scardcontrol.c (+1 -1)
rousseau 2005-11-24 17:26 Rev.: 1742

exit if the test applet is not found

5 lines of code changed in 1 file:

  • examples: scardcontrol.c (+5)

(33 more)

Generated by StatSVN 0.7.0