Query: ifdhcreatechannelbyname
OS: sunos
Section: 3smartca
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IFDHCreateChannelByName(3SMARTCARD) Smartcard Library Functions IFDHCreateChannelByName(3SMARTCARD)NAMEIFDHCreateChannelByName - create a communication channel with an IFDSYNOPSIS#include <smartcard/ifdhandler.h> RESPONSECODE IFDHCreateChannelByName(DWORD Lun, LPSTR devicename);PARAMETERSThe IFDHCreateChannelByName() function takes the following parameters: Input Lun Logical Unit Number devicename Device name pathDESCRIPTIONThe IFDHCreateChannelByName() function opens a communication channel with a card terminal specified by devicename. This function can use open(2) or other system call to open the device and establish a communication path. The caller of this function (smart card framework) assigns a logical unit number Lun per card terminal and slot and passes this value to IFDHCreateChannelByName(). If the IFD handler sup- ports multiple terminals with one instance of the handler (as indicated by capability TAG_IFD_SIMULTANEOUS_ACCESS), it communicates with the card terminal corresponding to this Lun. If the IFD handler supports only one terminal with one slot per instance, it can choose to ignore the Lun. The Logical Unit Number, Lun is encoded as 0xXXXXYYYY, where YYYY represents the lower 16 bits that correspond to the slot number for terminals with multiple slots. Most of the readers have only one slot, in which case YYYY is 0. XXXX represents the next 16 bits that correspond to the card terminal and can range between 0 and a number returned by TAG_IFD_SUMULTA- NEOUS_ACCESS.RETURN VALUESThe following values are returned: IFD_SUCCESS Successful completion. IFD_COMMUNICATION_ERROR An error occurred.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+SEE ALSOattributes(5)NOTESThis manual page is derived from the MUSCLE PC/SC IFD Driver Developer Kit documentation. License terms and attribution and copyright information for this interface are available at the default location /var/sadm/pkg/SUNWocfh/install/copyright. If the Solaris Operating Environment has been installed anywhere other than the default location, modify the path to access the file at the installed location. SunOS 5.10 4 Dec 2002 IFDHCreateChannelByName(3SMARTCARD)
Similar Topics in the Unix Linux Community |
---|
libchipcard 4.1.1 (Stable branch) |
Cause of NIC changes ...? |
Sun X4100 graphics |
Resize Lun |
Issues after moving gfx card |