[Pcsclite-cvs-commit] r2019 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Thu Apr 20 18:57:15 UTC 2006


Author: rousseau
Date: 2006-04-20 18:57:14 +0000 (Thu, 20 Apr 2006)
New Revision: 2019

Modified:
   trunk/Drivers/ccid/src/ifdhandler.c
Log:
declare the functions to export as EXTERNAL


Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c	2006-04-20 18:56:49 UTC (rev 2018)
+++ trunk/Drivers/ccid/src/ifdhandler.c	2006-04-20 18:57:14 UTC (rev 2019)
@@ -65,7 +65,7 @@
 	int CWI, int clock_frequency);
 
 
-RESPONSECODE IFDHCreateChannelByName(DWORD Lun, LPTSTR lpcDevice)
+EXTERNAL RESPONSECODE IFDHCreateChannelByName(DWORD Lun, LPTSTR lpcDevice)
 {
 	RESPONSECODE return_value = IFD_SUCCESS;
 	int reader_index;
@@ -109,7 +109,7 @@
 } /* IFDHCreateChannelByName */
 
 
-RESPONSECODE IFDHCreateChannel(DWORD Lun, DWORD Channel)
+EXTERNAL RESPONSECODE IFDHCreateChannel(DWORD Lun, DWORD Channel)
 {
 	/*
 	 * Lun - Logical Unit Number, use this for multiple card slots or
@@ -186,7 +186,7 @@
 } /* IFDHCreateChannel */
 
 
-RESPONSECODE IFDHCloseChannel(DWORD Lun)
+EXTERNAL RESPONSECODE IFDHCloseChannel(DWORD Lun)
 {
 	/*
 	 * This function should close the reader communication channel for the
@@ -227,7 +227,7 @@
 } /* IFDHCloseChannel */
 
 
-RESPONSECODE IFDHGetCapabilities(DWORD Lun, DWORD Tag,
+EXTERNAL RESPONSECODE IFDHGetCapabilities(DWORD Lun, DWORD Tag,
 	PDWORD Length, PUCHAR Value)
 {
 	/*
@@ -311,7 +311,7 @@
 } /* IFDHGetCapabilities */
 
 
-RESPONSECODE IFDHSetCapabilities(DWORD Lun, DWORD Tag,
+EXTERNAL RESPONSECODE IFDHSetCapabilities(DWORD Lun, DWORD Tag,
 	/*@unused@*/ DWORD Length, /*@unused@*/ PUCHAR Value)
 {
 	/*
@@ -342,7 +342,7 @@
 } /* IFDHSetCapabilities */
 
 
-RESPONSECODE IFDHSetProtocolParameters(DWORD Lun, DWORD Protocol,
+EXTERNAL RESPONSECODE IFDHSetProtocolParameters(DWORD Lun, DWORD Protocol,
 	UCHAR Flags, UCHAR PTS1, UCHAR PTS2, UCHAR PTS3)
 {
 	/*
@@ -740,7 +740,7 @@
 } /* IFDHSetProtocolParameters */
 
 
-RESPONSECODE IFDHPowerICC(DWORD Lun, DWORD Action,
+EXTERNAL RESPONSECODE IFDHPowerICC(DWORD Lun, DWORD Action,
 	PUCHAR Atr, PDWORD AtrLength)
 {
 	/*
@@ -849,7 +849,7 @@
 } /* IFDHPowerICC */
 
 
-RESPONSECODE IFDHTransmitToICC(DWORD Lun, SCARD_IO_HEADER SendPci,
+EXTERNAL RESPONSECODE IFDHTransmitToICC(DWORD Lun, SCARD_IO_HEADER SendPci,
 	PUCHAR TxBuffer, DWORD TxLength,
 	PUCHAR RxBuffer, PDWORD RxLength, /*@unused@*/ PSCARD_IO_HEADER RecvPci)
 {
@@ -905,8 +905,9 @@
 } /* IFDHTransmitToICC */
 
 
-RESPONSECODE IFDHControl(DWORD Lun, DWORD dwControlCode, PUCHAR TxBuffer,
-	DWORD TxLength, PUCHAR RxBuffer, DWORD RxLength, PDWORD pdwBytesReturned)
+EXTERNAL RESPONSECODE IFDHControl(DWORD Lun, DWORD dwControlCode,
+	PUCHAR TxBuffer, DWORD TxLength, PUCHAR RxBuffer, DWORD RxLength,
+	PDWORD pdwBytesReturned) 
 {
 	/*
 	 * This function performs a data exchange with the reader (not the
@@ -1016,7 +1017,7 @@
 } /* IFDHControl */
 
 
-RESPONSECODE IFDHICCPresence(DWORD Lun)
+EXTERNAL RESPONSECODE IFDHICCPresence(DWORD Lun)
 {
 	/*
 	 * This function returns the status of the card inserted in the




More information about the Pcsclite-cvs-commit mailing list