Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1d49b8f9ae104bfd1869bc35e6bbf50d > files > 296

pcsc-lite-doc-1.7.2-1.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pcsc-lite: winscard_msg.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">pcsc-lite&#160;<span id="projectnumber">1.7.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_7a4553ee0c3b13d0e595a5d1659110a6.html">src</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<h1>winscard_msg.h</h1>  </div>
</div>
<div class="contents">
<a href="winscard__msg_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * MUSCLE SmartCard Development ( http://www.linuxnet.com )</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2001-2004</span>
<a name="l00005"></a>00005 <span class="comment"> *  David Corcoran &lt;corcoran@linuxnet.com&gt;</span>
<a name="l00006"></a>00006 <span class="comment"> * Copyright (C) 2003-2004</span>
<a name="l00007"></a>00007 <span class="comment"> *  Damien Sauveron &lt;damien.sauveron@labri.fr&gt;</span>
<a name="l00008"></a>00008 <span class="comment"> * Copyright (C) 2002-2010</span>
<a name="l00009"></a>00009 <span class="comment"> *  Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * $Id: winscard_msg.h 5434 2010-12-08 14:13:21Z rousseau $</span>
<a name="l00012"></a>00012 <span class="comment"> */</span>
<a name="l00013"></a>00013 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef __winscard_msg_h__</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define __winscard_msg_h__</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00024"></a>00024 
<a name="l00026"></a><a class="code" href="winscard__msg_8h.html#a2ec4920ff3b207d71c2ae86d807dbdd7">00026</a> <span class="preprocessor">#define PROTOCOL_VERSION_MAJOR 4</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span>
<a name="l00028"></a><a class="code" href="winscard__msg_8h.html#a9ff5cd412ba2c8563fa89754cf534d41">00028</a> <span class="preprocessor">#define PROTOCOL_VERSION_MINOR 2</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00033"></a><a class="code" href="structversion__struct.html">00033</a>     <span class="keyword">struct </span><a class="code" href="structversion__struct.html" title="Information transmitted in CMD_VERSION Messages.">version_struct</a>
<a name="l00034"></a>00034     {
<a name="l00035"></a><a class="code" href="structversion__struct.html#a32863448345f9226766e08966d89b726">00035</a>         int32_t <a class="code" href="structversion__struct.html#a32863448345f9226766e08966d89b726" title="IPC major PROTOCOL_VERSION_MAJOR.">major</a>;  
<a name="l00036"></a><a class="code" href="structversion__struct.html#a5eba3ab76bf8a5f0b97cd574b487b3d0">00036</a>         int32_t <a class="code" href="structversion__struct.html#a5eba3ab76bf8a5f0b97cd574b487b3d0" title="IPC minor PROTOCOL_VERSION_MINOR.">minor</a>;  
<a name="l00037"></a>00037         uint32_t rv;
<a name="l00038"></a>00038     };
<a name="l00039"></a>00039 
<a name="l00043"></a><a class="code" href="structrxHeader.html">00043</a>     <span class="keyword">struct </span><a class="code" href="structrxHeader.html" title="header structure for client/server message data exchange.">rxHeader</a>
<a name="l00044"></a>00044     {
<a name="l00045"></a><a class="code" href="structrxHeader.html#ab2c6b258f02add8fdf4cfc7c371dd772">00045</a>         uint32_t <a class="code" href="structrxHeader.html#ab2c6b258f02add8fdf4cfc7c371dd772" title="size of the message excluding this header">size</a>;      
<a name="l00046"></a><a class="code" href="structrxHeader.html#af7e471411e95448316f756e3905fdcce">00046</a>         uint32_t <a class="code" href="structrxHeader.html#af7e471411e95448316f756e3905fdcce" title="one of the pcsc_msg_commands ">command</a>;   
<a name="l00047"></a>00047     };
<a name="l00048"></a>00048 
<a name="l00052"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dc">00052</a>     <span class="keyword">enum</span> <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dc" title="Commands available to use in the field sharedSegmentMsg.command.">pcsc_msg_commands</a>
<a name="l00053"></a>00053     {
<a name="l00054"></a>00054         CMD_ENUM_FIRST,
<a name="l00055"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcaf90d9882a83562f678f57ce8de9a51a1">00055</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcaf90d9882a83562f678f57ce8de9a51a1" title="used by SCardEstablishContext()">SCARD_ESTABLISH_CONTEXT</a> = 0x01, 
<a name="l00056"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca072877189b15a07bbc7918a7fdd2a573">00056</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca072877189b15a07bbc7918a7fdd2a573" title="used by SCardReleaseContext()">SCARD_RELEASE_CONTEXT</a> = 0x02,   
<a name="l00057"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcab75cb198a0e9a3137f28e63330d42d9b">00057</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcab75cb198a0e9a3137f28e63330d42d9b" title="used by SCardListReaders()">SCARD_LIST_READERS</a> = 0x03,      
<a name="l00058"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcae4539f439555e7f577f08de789fd4e2c">00058</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcae4539f439555e7f577f08de789fd4e2c" title="used by SCardConnect()">SCARD_CONNECT</a> = 0x04,           
<a name="l00059"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca8b46439f3998639c1935c51fb984794f">00059</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca8b46439f3998639c1935c51fb984794f" title="used by SCardReconnect()">SCARD_RECONNECT</a> = 0x05,         
<a name="l00060"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca014966b0829c1dd57df6c62a53c7c9f0">00060</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca014966b0829c1dd57df6c62a53c7c9f0" title="used by SCardDisconnect()">SCARD_DISCONNECT</a> = 0x06,        
<a name="l00061"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcaa49e6ed0bf4f1b9fe85c23699fdac94c">00061</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcaa49e6ed0bf4f1b9fe85c23699fdac94c" title="used by SCardBeginTransaction()">SCARD_BEGIN_TRANSACTION</a> = 0x07, 
<a name="l00062"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcac03f9c354d75ab9e5b53d0af82b2f7ff">00062</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcac03f9c354d75ab9e5b53d0af82b2f7ff" title="used by SCardEndTransaction()">SCARD_END_TRANSACTION</a> = 0x08,   
<a name="l00063"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcaaa1c43a9cc7497df780b9e5a81a3abcb">00063</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcaaa1c43a9cc7497df780b9e5a81a3abcb" title="used by SCardTransmit()">SCARD_TRANSMIT</a> = 0x09,          
<a name="l00064"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca50f40e02c69625cb2e03e7094ce9d8b1">00064</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca50f40e02c69625cb2e03e7094ce9d8b1" title="used by SCardControl()">SCARD_CONTROL</a> = 0x0A,           
<a name="l00065"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca8dd333ed3f05b986c67abbd6291d4188">00065</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca8dd333ed3f05b986c67abbd6291d4188" title="used by SCardStatus()">SCARD_STATUS</a> = 0x0B,            
<a name="l00066"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca48979952e37fda999c909f6e737b6980">00066</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca48979952e37fda999c909f6e737b6980" title="not used">SCARD_GET_STATUS_CHANGE</a> = 0x0C, 
<a name="l00067"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcac0d6cd84c358c5f349cf40f4235791d0">00067</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcac0d6cd84c358c5f349cf40f4235791d0" title="used by SCardCancel()">SCARD_CANCEL</a> = 0x0D,            
<a name="l00068"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcac37bcc23f8c37c5d7e8d1ecb6097efba">00068</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dcac37bcc23f8c37c5d7e8d1ecb6097efba" title="not used">SCARD_CANCEL_TRANSACTION</a> = 0x0E,
<a name="l00069"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca9198ad4e3cd0613906124c5243e7c12e">00069</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca9198ad4e3cd0613906124c5243e7c12e" title="used by SCardGetAttrib()">SCARD_GET_ATTRIB</a> = 0x0F,        
<a name="l00070"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca068f22e88bd4939797c3c359c9fbf075">00070</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca068f22e88bd4939797c3c359c9fbf075" title="used by SCardSetAttrib()">SCARD_SET_ATTRIB</a> = 0x10,        
<a name="l00071"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca775afaef84c85d8173a20debb1a9e2ef">00071</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca775afaef84c85d8173a20debb1a9e2ef" title="get the client/server protocol version">CMD_VERSION</a> = 0x11,             
<a name="l00072"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca192ae79f1c5d3d5f72f2b1c66d0b1cb8">00072</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca192ae79f1c5d3d5f72f2b1c66d0b1cb8" title="get the readers state">CMD_GET_READERS_STATE</a> = 0x12,   
<a name="l00073"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca7afd6740fc03a9c4395de07b6b29ad40">00073</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca7afd6740fc03a9c4395de07b6b29ad40" title="wait for a reader state change">CMD_WAIT_READER_STATE_CHANGE</a> = 0x13,    
<a name="l00074"></a><a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca0e6dde8afb7713e6973888b536ec7d79">00074</a>         <a class="code" href="winscard__msg_8h.html#add241284f0460327d523aec6e1cd17dca0e6dde8afb7713e6973888b536ec7d79" title="stop waiting for a reader state change">CMD_STOP_WAITING_READER_STATE_CHANGE</a> = 0x14,    
<a name="l00075"></a>00075         CMD_ENUM_LAST
<a name="l00076"></a>00076     };
<a name="l00077"></a>00077 
<a name="l00078"></a><a class="code" href="structclient__struct.html">00078</a>     <span class="keyword">struct </span><a class="code" href="structclient__struct.html">client_struct</a>
<a name="l00079"></a>00079     {
<a name="l00080"></a>00080         uint32_t hContext;
<a name="l00081"></a>00081     };
<a name="l00082"></a>00082 
<a name="l00086"></a><a class="code" href="structwait__reader__state__change.html">00086</a>     <span class="keyword">struct </span><a class="code" href="structwait__reader__state__change.html" title="Information contained in CMD_WAIT_READER_STATE_CHANGE Messages.">wait_reader_state_change</a>
<a name="l00087"></a>00087     {
<a name="l00088"></a><a class="code" href="structwait__reader__state__change.html#aeda15b3486c6a4026e4ff19c7bddd8b3">00088</a>         uint32_t <a class="code" href="structwait__reader__state__change.html#aeda15b3486c6a4026e4ff19c7bddd8b3" title="timeout in ms">timeOut</a>;   
<a name="l00089"></a>00089         uint32_t rv;
<a name="l00090"></a>00090     };
<a name="l00091"></a>00091 
<a name="l00097"></a><a class="code" href="structestablish__struct.html">00097</a>     <span class="keyword">struct </span><a class="code" href="structestablish__struct.html" title="Information contained in SCARD_ESTABLISH_CONTEXT Messages.">establish_struct</a>
<a name="l00098"></a>00098     {
<a name="l00099"></a>00099         uint32_t dwScope;
<a name="l00100"></a>00100         uint32_t hContext;
<a name="l00101"></a>00101         uint32_t rv;
<a name="l00102"></a>00102     };
<a name="l00103"></a>00103 
<a name="l00109"></a><a class="code" href="structrelease__struct.html">00109</a>     <span class="keyword">struct </span><a class="code" href="structrelease__struct.html" title="Information contained in SCARD_RELEASE_CONTEXT Messages.">release_struct</a>
<a name="l00110"></a>00110     {
<a name="l00111"></a>00111         uint32_t hContext;
<a name="l00112"></a>00112         uint32_t rv;
<a name="l00113"></a>00113     };
<a name="l00114"></a>00114 
<a name="l00120"></a><a class="code" href="structconnect__struct.html">00120</a>     <span class="keyword">struct </span><a class="code" href="structconnect__struct.html" title="contained in SCARD_CONNECT Messages.">connect_struct</a>
<a name="l00121"></a>00121     {
<a name="l00122"></a>00122         uint32_t hContext;
<a name="l00123"></a>00123         <span class="keywordtype">char</span> szReader[MAX_READERNAME];
<a name="l00124"></a>00124         uint32_t dwShareMode;
<a name="l00125"></a>00125         uint32_t dwPreferredProtocols;
<a name="l00126"></a>00126         int32_t hCard;
<a name="l00127"></a>00127         uint32_t dwActiveProtocol;
<a name="l00128"></a>00128         uint32_t rv;
<a name="l00129"></a>00129     };
<a name="l00130"></a>00130 
<a name="l00136"></a><a class="code" href="structreconnect__struct.html">00136</a>     <span class="keyword">struct </span><a class="code" href="structreconnect__struct.html" title="contained in SCARD_RECONNECT Messages.">reconnect_struct</a>
<a name="l00137"></a>00137     {
<a name="l00138"></a>00138         int32_t hCard;
<a name="l00139"></a>00139         uint32_t dwShareMode;
<a name="l00140"></a>00140         uint32_t dwPreferredProtocols;
<a name="l00141"></a>00141         uint32_t dwInitialization;
<a name="l00142"></a>00142         uint32_t dwActiveProtocol;
<a name="l00143"></a>00143         uint32_t rv;
<a name="l00144"></a>00144     };
<a name="l00145"></a>00145 
<a name="l00151"></a><a class="code" href="structdisconnect__struct.html">00151</a>     <span class="keyword">struct </span><a class="code" href="structdisconnect__struct.html" title="contained in SCARD_DISCONNECT Messages.">disconnect_struct</a>
<a name="l00152"></a>00152     {
<a name="l00153"></a>00153         int32_t hCard;
<a name="l00154"></a>00154         uint32_t dwDisposition;
<a name="l00155"></a>00155         uint32_t rv;
<a name="l00156"></a>00156     };
<a name="l00157"></a>00157 
<a name="l00163"></a><a class="code" href="structbegin__struct.html">00163</a>     <span class="keyword">struct </span><a class="code" href="structbegin__struct.html" title="contained in SCARD_BEGIN_TRANSACTION Messages.">begin_struct</a>
<a name="l00164"></a>00164     {
<a name="l00165"></a>00165         int32_t hCard;
<a name="l00166"></a>00166         uint32_t rv;
<a name="l00167"></a>00167     };
<a name="l00168"></a>00168 
<a name="l00174"></a><a class="code" href="structend__struct.html">00174</a>     <span class="keyword">struct </span><a class="code" href="structend__struct.html" title="contained in SCARD_END_TRANSACTION Messages.">end_struct</a>
<a name="l00175"></a>00175     {
<a name="l00176"></a>00176         int32_t hCard;
<a name="l00177"></a>00177         uint32_t dwDisposition;
<a name="l00178"></a>00178         uint32_t rv;
<a name="l00179"></a>00179     };
<a name="l00180"></a>00180 
<a name="l00186"></a><a class="code" href="structcancel__struct.html">00186</a>     <span class="keyword">struct </span><a class="code" href="structcancel__struct.html" title="contained in SCARD_CANCEL Messages.">cancel_struct</a>
<a name="l00187"></a>00187     {
<a name="l00188"></a>00188         int32_t hContext;
<a name="l00189"></a>00189         uint32_t rv;
<a name="l00190"></a>00190     };
<a name="l00191"></a>00191 
<a name="l00197"></a><a class="code" href="structstatus__struct.html">00197</a>     <span class="keyword">struct </span><a class="code" href="structstatus__struct.html" title="contained in SCARD_STATUS Messages.">status_struct</a>
<a name="l00198"></a>00198     {
<a name="l00199"></a>00199         int32_t hCard;
<a name="l00200"></a>00200         uint32_t rv;
<a name="l00201"></a>00201     };
<a name="l00202"></a>00202 
<a name="l00208"></a><a class="code" href="structtransmit__struct.html">00208</a>     <span class="keyword">struct </span><a class="code" href="structtransmit__struct.html" title="contained in SCARD_TRANSMIT Messages.">transmit_struct</a>
<a name="l00209"></a>00209     {
<a name="l00210"></a>00210         int32_t hCard;
<a name="l00211"></a>00211         uint32_t ioSendPciProtocol;
<a name="l00212"></a>00212         uint32_t ioSendPciLength;
<a name="l00213"></a>00213         uint32_t cbSendLength;
<a name="l00214"></a>00214         uint32_t ioRecvPciProtocol;
<a name="l00215"></a>00215         uint32_t ioRecvPciLength;
<a name="l00216"></a>00216         uint32_t pcbRecvLength;
<a name="l00217"></a>00217         uint32_t rv;
<a name="l00218"></a>00218     };
<a name="l00219"></a>00219 
<a name="l00225"></a><a class="code" href="structcontrol__struct.html">00225</a>     <span class="keyword">struct </span><a class="code" href="structcontrol__struct.html" title="contained in SCARD_CONTROL Messages.">control_struct</a>
<a name="l00226"></a>00226     {
<a name="l00227"></a>00227         int32_t hCard;
<a name="l00228"></a>00228         uint32_t dwControlCode;
<a name="l00229"></a>00229         uint32_t cbSendLength;
<a name="l00230"></a>00230         uint32_t cbRecvLength;
<a name="l00231"></a>00231         uint32_t dwBytesReturned;
<a name="l00232"></a>00232         uint32_t rv;
<a name="l00233"></a>00233     };
<a name="l00234"></a>00234 
<a name="l00240"></a><a class="code" href="structgetset__struct.html">00240</a>     <span class="keyword">struct </span><a class="code" href="structgetset__struct.html" title="contained in SCARD_GET_ATTRIB and Messages.">getset_struct</a>
<a name="l00241"></a>00241     {
<a name="l00242"></a>00242         int32_t hCard;
<a name="l00243"></a>00243         uint32_t dwAttrId;
<a name="l00244"></a>00244         uint8_t pbAttr[<a class="code" href="pcsclite_8h.html#ad4d796b98c583d49e83adabd74a63bf6" title="Maximum Tx/Rx Buffer for short APDU.">MAX_BUFFER_SIZE</a>];
<a name="l00245"></a>00245         uint32_t cbAttrLen;
<a name="l00246"></a>00246         uint32_t rv;
<a name="l00247"></a>00247     };
<a name="l00248"></a>00248 
<a name="l00249"></a>00249     <span class="comment">/*</span>
<a name="l00250"></a>00250 <span class="comment">     * Now some function definitions</span>
<a name="l00251"></a>00251 <span class="comment">     */</span>
<a name="l00252"></a>00252 
<a name="l00253"></a>00253 <span class="preprocessor">#ifdef PCSCD</span>
<a name="l00254"></a>00254 <span class="preprocessor"></span>    int32_t <a class="code" href="winscard__msg__srv_8c.html#a061a490f5d2103751eb6b64573b5fb9d" title="Prepares the communication channel used by the server to talk to the clients.">InitializeSocket</a>(<span class="keywordtype">void</span>);
<a name="l00255"></a>00255     int32_t <a class="code" href="winscard__msg__srv_8c.html#a187cf841551d3e7b97e23d73067ec2d3" title="Looks for messages sent by clients.">ProcessEventsServer</a>(<span class="comment">/*@out@*/</span> uint32_t *);
<a name="l00256"></a>00256 <span class="preprocessor">#else</span>
<a name="l00257"></a>00257 <span class="preprocessor"></span>    <span class="keywordtype">char</span> *getSocketName(<span class="keywordtype">void</span>);
<a name="l00258"></a>00258     int32_t <a class="code" href="winscard__msg_8c.html#a616a7d779449d1dc6a8a5d925d8212b1" title="Prepares a communication channel for the client to talk to the server.">ClientSetupSession</a>(uint32_t *);
<a name="l00259"></a>00259     int32_t <a class="code" href="winscard__msg_8c.html#a43b3c0b77aeac885864df13a39b5d44f" title="Closes the socket used by the client to communicate with the server.">ClientCloseSession</a>(uint32_t);
<a name="l00260"></a>00260     LONG <a class="code" href="winscard__msg_8c.html#a882edc5b2e3fe0d8a70a4ffd00d8455c" title="Called by the Client to get the reponse from the server or vice-versa.">MessageReceiveTimeout</a>(uint32_t command, <span class="comment">/*@out@*/</span> <span class="keywordtype">void</span> *buffer,
<a name="l00261"></a>00261         uint64_t buffer_size, int32_t filedes, int32_t timeOut);
<a name="l00262"></a>00262     LONG <a class="code" href="winscard__msg_8c.html#a922f8b35802c2449f80a9bd02a25b05b" title="Wrapper for the MessageSend() function.">MessageSendWithHeader</a>(uint32_t command, uint32_t dwClientID,
<a name="l00263"></a>00263         uint64_t size, <span class="keywordtype">void</span> *data);
<a name="l00264"></a>00264 <span class="preprocessor">#endif</span>
<a name="l00265"></a>00265 <span class="preprocessor"></span>    LONG <a class="code" href="winscard__msg_8c.html#aacd09139ce5667d3b651de29c0d62057" title="Sends a menssage from client to server or vice-versa.">MessageSend</a>(<span class="keywordtype">void</span> *buffer, uint64_t buffer_size, int32_t filedes);
<a name="l00266"></a>00266     LONG <a class="code" href="winscard__msg_8c.html#adbb09969d5d410393ae441b9a18c7a0c" title="Called by the Client to get the reponse from the server or vice-versa.">MessageReceive</a>(<span class="comment">/*@out@*/</span> <span class="keywordtype">void</span> *buffer, uint64_t buffer_size,
<a name="l00267"></a>00267         int32_t filedes);
<a name="l00268"></a>00268 
<a name="l00269"></a>00269 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Mar 31 2011 for pcsc-lite by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>