OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: David Corcoran (corcoranlinuxnet.com)
Date: Wed Nov 07 2001 - 17:38:16 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello,

    So I have been working on ifdhandler 3 which is basically ifdhandler 2
    with some definitions of extended functionality for IFDHControl. It also
    includes a callback function for instant status notification. pcscd will
    look for these new symbols and use them only if they exist so there is no
    rush to support these.

    There are a couple of new tags:

           TAG_IFD_SLOTS_NUMBER - return the number of slots for this
                                         reader (default 1)
           TAG_IFD_SIMULTANEOUS_ACCESS - return the number of connected
                                         readers
                                         this driver can support
                                         simultaneously (default 1)

    Here is the prototype for the callback function:

      typedef struct _SCARD_CALLBACK_INFO {
        DWORD logicalUnit; /* Lun of the event creating device */
        DWORD cardStatus; /* Status of the card */
        DWORD readerStatus; /* Status of the reader */
        DWORD extendStatus; /* Status of extended features ie: biometric */
        void *extendedData;
      } SCARD_CALLBACK_INFO, *PSCARD_CALLBACK_INFO;
     
      /* End of structure list */
     
     
    /* Define for callback function */
    typedef void (*LPCardEventCallback)(PSCARD_CALLBACK_INFO);

      RESPONSECODE IFDHRegisterCallback( LPCardEventCallback );

    Suggestions ????

    Dave

    ***************************************************************
    Unix Smart Card Developers - M.U.S.C.L.E.
    (Movement for the Use of Smart Cards in a Linux Environment)
    http://www.linuxnet.com/
    To unsubscribe send an email to majordomolinuxnet.com with
    unsubscribe sclinux
    ***************************************************************