[Pcsclite-git-commit] [PCSC] 04/11: Doxygen: pioSendPci argument of SCardTransmit is [in] only

Ludovic Rousseau rousseau at moszumanska.debian.org
Fri Mar 11 17:54:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository PCSC.

commit bfc6c15ec7b5941efaa48a1c1e5ff7d2cd8b0fa4
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Mar 11 10:02:02 2016 +0100

    Doxygen: pioSendPci argument of SCardTransmit is [in] only
    
    The argument pioSendPci of SCardTransmit() is not [in,out] but [in]
    only.
    
    Thanks to Maksim Ivanov for the bug report
    http://lists.alioth.debian.org/pipermail/pcsclite-muscle/Week-of-Mon-20160307/000536.html
---
 src/winscard_clnt.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/winscard_clnt.c b/src/winscard_clnt.c
index 3a15a58..5f675a8 100644
--- a/src/winscard_clnt.c
+++ b/src/winscard_clnt.c
@@ -2541,17 +2541,18 @@ end:
  *
  * The card responds from the APDU and stores this response in \p pbRecvBuffer
  * and its length in \p pcbRecvLength.
+ *
  * \p pioSendPci and \p pioRecvPci are structures containing the following:
  * @code
  * typedef struct {
- *    DWORD dwProtocol;    // SCARD_PROTOCOL_T0 or SCARD_PROTOCOL_T1
+ *    DWORD dwProtocol;    // SCARD_PROTOCOL_T0, SCARD_PROTOCOL_T1 or SCARD_PROTOCOL_RAW
  *    DWORD cbPciLength;   // Length of this structure
  * } SCARD_IO_REQUEST;
  * @endcode
  *
  * @ingroup API
  * @param[in] hCard Connection made from SCardConnect().
- * @param[in,out] pioSendPci Structure of Protocol Control Information.
+ * @param[in] pioSendPci Structure of Protocol Control Information.
  * - \ref SCARD_PCI_T0 - Predefined T=0 PCI structure.
  * - \ref SCARD_PCI_T1 - Predefined T=1 PCI structure.
  * - \ref SCARD_PCI_RAW - Predefined RAW PCI structure.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git



More information about the Pcsclite-cvs-commit mailing list