Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 3ef085c66d4a743f8dec260630a0b19c > files > 192

pcsc-lite-doc-1.5.5-4.fc13.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: readerfactory.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.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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 class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_c68a5dfdca54003c765e303a18006edb.html">src</a>
  </div>
</div>
<div class="contents">
<h1>readerfactory.h</h1><a href="readerfactory_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) 1999</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) 2004</span>
<a name="l00007"></a>00007 <span class="comment"> *  Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * $Id: readerfactory.h 4289 2009-07-01 12:02:54Z rousseau $</span>
<a name="l00010"></a>00010 <span class="comment"> */</span>
<a name="l00011"></a>00011 
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __readerfactory_h__</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __readerfactory_h__</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;inttypes.h&gt;</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="thread__generic_8h.html" title="This provides system specific thread calls.">thread_generic.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;<a class="code" href="ifdhandler_8h.html" title="This provides reader specific low-level calls.">ifdhandler.h</a>&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="pcscd_8h.html" title="This keeps a list of defines for pcsc-lite.">pcscd.h</a>&quot;</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>
<a name="l00028"></a>00028 {
<a name="l00029"></a>00029 <span class="preprocessor">#endif</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a><a class="code" href="structSerialReader.html">00031</a>     <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00032"></a>00032     {
<a name="l00033"></a><a class="code" href="structSerialReader.html#a3205a8edcfe0483cc4f4976b0a25f647">00033</a>         <span class="keywordtype">char</span> *pcFriendlyname;   
<a name="l00034"></a><a class="code" href="structSerialReader.html#a9dfe162a283ec560e222d1d1a143e434">00034</a>         <span class="keywordtype">char</span> *pcDevicename;     
<a name="l00035"></a><a class="code" href="structSerialReader.html#a52794cbc075fc384ebae543b10f4634f">00035</a>         <span class="keywordtype">char</span> *pcLibpath;        
<a name="l00036"></a><a class="code" href="structSerialReader.html#a31f5497d59c654e1b2101d07c0427591">00036</a>         <span class="keywordtype">int</span> dwChannelId;        
<a name="l00037"></a>00037     } <a class="code" href="structSerialReader.html">SerialReader</a>;
<a name="l00038"></a>00038 
<a name="l00039"></a><a class="code" href="structFctMap__V1.html">00039</a>     <span class="keyword">struct </span><a class="code" href="structFctMap__V1.html">FctMap_V1</a>
<a name="l00040"></a>00040     {
<a name="l00041"></a>00041         RESPONSECODE (*pvfCreateChannel)(DWORD);
<a name="l00042"></a>00042         RESPONSECODE (*pvfCloseChannel)(void);
<a name="l00043"></a>00043         RESPONSECODE (*pvfGetCapabilities)(DWORD, PUCHAR);
<a name="l00044"></a>00044         RESPONSECODE (*pvfSetCapabilities)(DWORD, PUCHAR);
<a name="l00045"></a>00045         RESPONSECODE (*pvfSetProtocolParameters)(DWORD, UCHAR, UCHAR, UCHAR,
<a name="l00046"></a>00046             UCHAR);
<a name="l00047"></a>00047         RESPONSECODE (*pvfPowerICC)(DWORD);
<a name="l00048"></a>00048         RESPONSECODE (*pvfTransmitToICC)(<a class="code" href="struct__SCARD__IO__HEADER.html">SCARD_IO_HEADER</a>, PUCHAR, DWORD,
<a name="l00049"></a>00049             PUCHAR, PDWORD, <a class="code" href="struct__SCARD__IO__HEADER.html">PSCARD_IO_HEADER</a>);
<a name="l00050"></a>00050         RESPONSECODE (*pvfICCPresence)(void);
<a name="l00051"></a>00051     };
<a name="l00052"></a>00052 
<a name="l00053"></a>00053     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structFctMap__V1.html">FctMap_V1</a> <a class="code" href="structFctMap__V1.html">FCT_MAP_V1</a>, *<a class="code" href="structFctMap__V1.html">PFCT_MAP_V1</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a><a class="code" href="structFctMap__V2.html">00055</a>     <span class="keyword">struct </span><a class="code" href="structFctMap__V2.html">FctMap_V2</a>
<a name="l00056"></a>00056     {
<a name="l00057"></a>00057         <span class="comment">/* shared with API 3.0 */</span>
<a name="l00058"></a>00058         RESPONSECODE (*pvfCreateChannel)(DWORD, DWORD);
<a name="l00059"></a>00059         RESPONSECODE (*pvfCloseChannel)(DWORD);
<a name="l00060"></a>00060         RESPONSECODE (*pvfGetCapabilities)(DWORD, DWORD, PDWORD, PUCHAR);
<a name="l00061"></a>00061         RESPONSECODE (*pvfSetCapabilities)(DWORD, DWORD, DWORD, PUCHAR);
<a name="l00062"></a>00062         RESPONSECODE (*pvfSetProtocolParameters)(DWORD, DWORD, UCHAR, UCHAR,
<a name="l00063"></a>00063             UCHAR, UCHAR);
<a name="l00064"></a>00064         RESPONSECODE (*pvfPowerICC)(DWORD, DWORD, PUCHAR, PDWORD);
<a name="l00065"></a>00065         RESPONSECODE (*pvfTransmitToICC)(DWORD, <a class="code" href="struct__SCARD__IO__HEADER.html">SCARD_IO_HEADER</a>, PUCHAR,
<a name="l00066"></a>00066             DWORD, PUCHAR, PDWORD, <a class="code" href="struct__SCARD__IO__HEADER.html">PSCARD_IO_HEADER</a>);
<a name="l00067"></a>00067         RESPONSECODE (*pvfICCPresence)(DWORD);
<a name="l00068"></a>00068 
<a name="l00069"></a>00069         <span class="comment">/* API v2.0 only */</span>
<a name="l00070"></a>00070         RESPONSECODE (*pvfControl)(DWORD, PUCHAR, DWORD, PUCHAR, PDWORD);
<a name="l00071"></a>00071     };
<a name="l00072"></a>00072 
<a name="l00073"></a>00073     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structFctMap__V2.html">FctMap_V2</a> <a class="code" href="structFctMap__V2.html">FCT_MAP_V2</a>, *<a class="code" href="structFctMap__V2.html">PFCT_MAP_V2</a>;
<a name="l00074"></a>00074 
<a name="l00075"></a><a class="code" href="structFctMap__V3.html">00075</a>     <span class="keyword">struct </span><a class="code" href="structFctMap__V3.html">FctMap_V3</a>
<a name="l00076"></a>00076     {
<a name="l00077"></a>00077         <span class="comment">/* the common fields SHALL be in the same order as in FctMap_V2 */</span>
<a name="l00078"></a>00078         RESPONSECODE (*pvfCreateChannel)(DWORD, DWORD);
<a name="l00079"></a>00079         RESPONSECODE (*pvfCloseChannel)(DWORD);
<a name="l00080"></a>00080         RESPONSECODE (*pvfGetCapabilities)(DWORD, DWORD, PDWORD, PUCHAR);
<a name="l00081"></a>00081         RESPONSECODE (*pvfSetCapabilities)(DWORD, DWORD, DWORD, PUCHAR);
<a name="l00082"></a>00082         RESPONSECODE (*pvfSetProtocolParameters)(DWORD, DWORD, UCHAR, UCHAR,
<a name="l00083"></a>00083                 UCHAR, UCHAR);
<a name="l00084"></a>00084         RESPONSECODE (*pvfPowerICC)(DWORD, DWORD, PUCHAR, PDWORD);
<a name="l00085"></a>00085         RESPONSECODE (*pvfTransmitToICC)(DWORD, <a class="code" href="struct__SCARD__IO__HEADER.html">SCARD_IO_HEADER</a>, PUCHAR,
<a name="l00086"></a>00086             DWORD, PUCHAR, PDWORD, <a class="code" href="struct__SCARD__IO__HEADER.html">PSCARD_IO_HEADER</a>);
<a name="l00087"></a>00087         RESPONSECODE (*pvfICCPresence)(DWORD);
<a name="l00088"></a>00088 
<a name="l00089"></a>00089         <span class="comment">/* API V3.0 only */</span>
<a name="l00090"></a>00090         RESPONSECODE (*pvfControl)(DWORD, DWORD, LPCVOID, DWORD, LPVOID,
<a name="l00091"></a>00091             DWORD, LPDWORD);
<a name="l00092"></a>00092         RESPONSECODE (*pvfCreateChannelByName)(DWORD, LPSTR);
<a name="l00093"></a>00093     };
<a name="l00094"></a>00094 
<a name="l00095"></a>00095     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structFctMap__V3.html">FctMap_V3</a> <a class="code" href="structFctMap__V3.html">FCT_MAP_V3</a>, *<a class="code" href="structFctMap__V3.html">PFCT_MAP_V3</a>;
<a name="l00096"></a>00096 
<a name="l00097"></a><a class="code" href="structRdrCliHandles.html">00097</a>     <span class="keyword">struct </span><a class="code" href="structRdrCliHandles.html">RdrCliHandles</a>
<a name="l00098"></a>00098     {
<a name="l00099"></a><a class="code" href="structRdrCliHandles.html#a8af14d4dc827407031b340dfa2b147a2">00099</a>         <a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a> <a class="code" href="structRdrCliHandles.html#a8af14d4dc827407031b340dfa2b147a2" title="hCard for this connection">hCard</a>;      
<a name="l00100"></a><a class="code" href="structRdrCliHandles.html#a5a050a281901af2969c83ec59a66d4d4">00100</a>         DWORD <a class="code" href="structRdrCliHandles.html#a5a050a281901af2969c83ec59a66d4d4" title="Recent event that must be sent.">dwEventStatus</a>;    
<a name="l00101"></a>00101     };
<a name="l00102"></a>00102 
<a name="l00103"></a>00103     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structRdrCliHandles.html">RdrCliHandles</a> <a class="code" href="structRdrCliHandles.html">RDR_CLIHANDLES</a>, *<a class="code" href="structRdrCliHandles.html">PRDR_CLIHANDLES</a>;
<a name="l00104"></a>00104 
<a name="l00105"></a><a class="code" href="structReaderContext.html">00105</a>     <span class="keyword">struct </span><a class="code" href="structReaderContext.html">ReaderContext</a>
<a name="l00106"></a>00106     {
<a name="l00107"></a><a class="code" href="structReaderContext.html#a96437e128cf06a25cf720b90355a8e3e">00107</a>         <span class="keywordtype">char</span> <a class="code" href="structReaderContext.html#a96437e128cf06a25cf720b90355a8e3e" title="Reader Name.">lpcReader</a>[MAX_READERNAME]; 
<a name="l00108"></a><a class="code" href="structReaderContext.html#a37aac84f1fea965b12fa236e9e275bf4">00108</a>         <span class="keywordtype">char</span> <a class="code" href="structReaderContext.html#a37aac84f1fea965b12fa236e9e275bf4" title="Library Path.">lpcLibrary</a>[MAX_LIBNAME];   
<a name="l00109"></a><a class="code" href="structReaderContext.html#ace83170e8617187def4fa8b77d4d7781">00109</a>         <span class="keywordtype">char</span> <a class="code" href="structReaderContext.html#ace83170e8617187def4fa8b77d4d7781" title="Device Name.">lpcDevice</a>[MAX_DEVICENAME]; 
<a name="l00110"></a><a class="code" href="structReaderContext.html#a2005777e7b4a34f61a2d642d54f01edb">00110</a>         PCSCLITE_THREAD_T <a class="code" href="structReaderContext.html#a2005777e7b4a34f61a2d642d54f01edb" title="Event polling thread.">pthThread</a>;    
<a name="l00111"></a>00111         RESPONSECODE (*<a class="code" href="structReaderContext.html#aa572dd4dc6cd172d4e2b650328b5d2b8" title="Card Event sync.">pthCardEvent</a>)(DWORD);    
<a name="l00112"></a><a class="code" href="structReaderContext.html#af46cea0e5161cce9a32f83a8e1303521">00112</a>         PCSCLITE_MUTEX_T <a class="code" href="structReaderContext.html#af46cea0e5161cce9a32f83a8e1303521" title="Mutex for this connection.">mMutex</a>;    
<a name="l00113"></a>00113         <a class="code" href="structRdrCliHandles.html">RDR_CLIHANDLES</a> <a class="code" href="structReaderContext.html#abf85df4042b07606cd88094255d37cfe" title="Structure of connected handles.">psHandles</a>[<a class="code" href="pcscd_8h.html#a8542188c2736563383de00553715912f" title="Maximum channels on a reader context.">PCSCLITE_MAX_READER_CONTEXT_CHANNELS</a>];
<a name="l00115"></a>00115         <span class="keyword">union</span>
<a name="l00116"></a>00116         {
<a name="l00117"></a><a class="code" href="structReaderContext.html#a5bf9e0753c3b737fae020372fa7341f4">00117</a>             <a class="code" href="structFctMap__V1.html">FCT_MAP_V1</a> <a class="code" href="structReaderContext.html#a5bf9e0753c3b737fae020372fa7341f4" title="API V1.0.">psFunctions_v1</a>;  
<a name="l00118"></a><a class="code" href="structReaderContext.html#ab843b091726f4cb816f0f74c0318bc17">00118</a>             <a class="code" href="structFctMap__V2.html">FCT_MAP_V2</a> <a class="code" href="structReaderContext.html#ab843b091726f4cb816f0f74c0318bc17" title="API V2.0.">psFunctions_v2</a>;  
<a name="l00119"></a><a class="code" href="structReaderContext.html#a2419b85252a2e83704c6c98222ccc37a">00119</a>             <a class="code" href="structFctMap__V3.html">FCT_MAP_V3</a> <a class="code" href="structReaderContext.html#a2419b85252a2e83704c6c98222ccc37a" title="API V3.0.">psFunctions_v3</a>;  
<a name="l00120"></a>00120         } <a class="code" href="structReaderContext.html#abf2256a470696e4b0080850b34479388" title="driver functions">psFunctions</a>;  
<a name="l00122"></a><a class="code" href="structReaderContext.html#a5257a53e17e1ca11daf01b70b49cc360">00122</a>         LPVOID <a class="code" href="structReaderContext.html#a5257a53e17e1ca11daf01b70b49cc360" title="Dlopen handle.">vHandle</a>;         
<a name="l00123"></a><a class="code" href="structReaderContext.html#ac5ef173abf9ef976872acfd2422718d1">00123</a>         DWORD <a class="code" href="structReaderContext.html#ac5ef173abf9ef976872acfd2422718d1" title="IFD Handler version number.">dwVersion</a>;        
<a name="l00124"></a><a class="code" href="structReaderContext.html#ad08178855d5c05e8881759a07715c559">00124</a>         DWORD <a class="code" href="structReaderContext.html#ad08178855d5c05e8881759a07715c559" title="Port ID.">dwPort</a>;           
<a name="l00125"></a><a class="code" href="structReaderContext.html#ae869f66b2d848317e5546862717f22f8">00125</a>         DWORD <a class="code" href="structReaderContext.html#ae869f66b2d848317e5546862717f22f8" title="Current Reader Slot.">dwSlot</a>;           
<a name="l00126"></a><a class="code" href="structReaderContext.html#aad5d0c852c18ee3046a1bf510bb5f504">00126</a>         DWORD <a class="code" href="structReaderContext.html#aad5d0c852c18ee3046a1bf510bb5f504" title="Current blocking status.">dwBlockStatus</a>;    
<a name="l00127"></a><a class="code" href="structReaderContext.html#a0b2893d3f1b70c45eb32445efb27b32d">00127</a>         DWORD <a class="code" href="structReaderContext.html#a0b2893d3f1b70c45eb32445efb27b32d" title="Lock Id.">dwLockId</a>;         
<a name="l00128"></a><a class="code" href="structReaderContext.html#ab37901567c864bc7d16bdb25020406d6">00128</a>         DWORD <a class="code" href="structReaderContext.html#ab37901567c864bc7d16bdb25020406d6" title="Shared ID High Nibble.">dwIdentity</a>;       
<a name="l00129"></a><a class="code" href="structReaderContext.html#a74dfbd8479c24f0a44f32c6ce54bd6e7">00129</a>         <span class="keywordtype">int</span> <a class="code" href="structReaderContext.html#a74dfbd8479c24f0a44f32c6ce54bd6e7" title="number of recursive locks">LockCount</a>;          
<a name="l00130"></a><a class="code" href="structReaderContext.html#aa01bf22182a5a10c7aa6b68c82039df9">00130</a>         int32_t <a class="code" href="structReaderContext.html#aa01bf22182a5a10c7aa6b68c82039df9" title="Number of open contexts.">dwContexts</a>;     
<a name="l00131"></a><a class="code" href="structReaderContext.html#a082e924428a321f7d5af8b6fe523caea">00131</a>         PDWORD <a class="code" href="structReaderContext.html#a082e924428a321f7d5af8b6fe523caea" title="Number of shared client to lib.">pdwFeeds</a>;        
<a name="l00132"></a><a class="code" href="structReaderContext.html#a8cc46cde0c2fe96d4a92fa95559e5965">00132</a>         PDWORD <a class="code" href="structReaderContext.html#a8cc46cde0c2fe96d4a92fa95559e5965" title="Number of client to mutex.">pdwMutex</a>;        
<a name="l00134"></a><a class="code" href="structReaderContext.html#ad83f23e5ebcf7ddd14d27928da96a97e">00134</a>         <span class="keyword">struct </span><a class="code" href="structpubReaderStatesList.html" title="Define an exported public reader state structure so each application gets instant...">pubReaderStatesList</a> *<a class="code" href="structReaderContext.html#ad83f23e5ebcf7ddd14d27928da96a97e" title="link to the reader state">readerState</a>; 
<a name="l00135"></a>00135         <span class="comment">/* we can&#39;t use PREADER_STATE here since eventhandler.h can&#39;t be</span>
<a name="l00136"></a>00136 <span class="comment">         * included because of circular dependencies */</span>
<a name="l00137"></a>00137     };
<a name="l00138"></a>00138 
<a name="l00139"></a>00139     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structReaderContext.html">ReaderContext</a> <a class="code" href="structReaderContext.html">READER_CONTEXT</a>, *<a class="code" href="structReaderContext.html">PREADER_CONTEXT</a>;
<a name="l00140"></a>00140 
<a name="l00141"></a>00141     LONG RFAllocateReaderSpace(<span class="keywordtype">void</span>);
<a name="l00142"></a>00142     LONG RFAddReader(LPSTR, DWORD, LPSTR, LPSTR);
<a name="l00143"></a>00143     LONG RFRemoveReader(LPSTR, DWORD);
<a name="l00144"></a>00144     LONG RFSetReaderName(PREADER_CONTEXT, LPSTR, LPSTR, DWORD, DWORD);
<a name="l00145"></a>00145     LONG RFListReaders(LPSTR, LPDWORD);
<a name="l00146"></a>00146     LONG RFReaderInfo(LPSTR, <span class="comment">/*@out@*/</span> <span class="keyword">struct</span> <a class="code" href="structReaderContext.html">ReaderContext</a> **);
<a name="l00147"></a>00147     LONG RFReaderInfoNamePort(DWORD, LPSTR, <span class="comment">/*@out@*/</span> <span class="keyword">struct</span> <a class="code" href="structReaderContext.html">ReaderContext</a> **);
<a name="l00148"></a>00148     LONG RFReaderInfoById(DWORD, <span class="comment">/*@out@*/</span> <span class="keyword">struct</span> <a class="code" href="structReaderContext.html">ReaderContext</a> **);
<a name="l00149"></a>00149     LONG RFCheckSharing(DWORD);
<a name="l00150"></a>00150     LONG RFLockSharing(DWORD);
<a name="l00151"></a>00151     LONG RFUnlockSharing(DWORD);
<a name="l00152"></a>00152     LONG RFUnlockAllSharing(DWORD);
<a name="l00153"></a>00153     LONG RFUnblockReader(PREADER_CONTEXT);
<a name="l00154"></a>00154     LONG RFUnblockContext(<a class="code" href="pcsclite_8h.html#a3524142a16d7185916422baf6bb7883f" title="hContext returned by SCardEstablishContext()">SCARDCONTEXT</a>);
<a name="l00155"></a>00155     LONG RFLoadReader(PREADER_CONTEXT);
<a name="l00156"></a>00156     LONG RFBindFunctions(PREADER_CONTEXT);
<a name="l00157"></a>00157     LONG RFUnBindFunctions(PREADER_CONTEXT);
<a name="l00158"></a>00158     LONG RFUnloadReader(PREADER_CONTEXT);
<a name="l00159"></a>00159     LONG RFInitializeReader(PREADER_CONTEXT);
<a name="l00160"></a>00160     LONG RFUnInitializeReader(PREADER_CONTEXT);
<a name="l00161"></a>00161     <a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a> RFCreateReaderHandle(PREADER_CONTEXT);
<a name="l00162"></a>00162     LONG RFDestroyReaderHandle(<a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a> hCard);
<a name="l00163"></a>00163     LONG RFAddReaderHandle(PREADER_CONTEXT, <a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a>);
<a name="l00164"></a>00164     LONG RFFindReaderHandle(<a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a>);
<a name="l00165"></a>00165     LONG RFRemoveReaderHandle(PREADER_CONTEXT, <a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a>);
<a name="l00166"></a>00166     LONG RFSetReaderEventState(PREADER_CONTEXT, DWORD);
<a name="l00167"></a>00167     LONG RFCheckReaderEventState(PREADER_CONTEXT, <a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a>);
<a name="l00168"></a>00168     LONG RFClearReaderEventState(PREADER_CONTEXT, <a class="code" href="pcsclite_8h.html#a0ef8f5baf9ee6c07dbdc7644c641d0a9" title="hCard returned by SCardConnect()">SCARDHANDLE</a>);
<a name="l00169"></a>00169     LONG RFCheckReaderStatus(PREADER_CONTEXT);
<a name="l00170"></a>00170     <span class="keywordtype">void</span> RFCleanupReaders(<span class="keywordtype">int</span>);
<a name="l00171"></a>00171     <span class="keywordtype">int</span> RFStartSerialReaders(<span class="keyword">const</span> <span class="keywordtype">char</span> *readerconf);
<a name="l00172"></a>00172     <span class="keywordtype">void</span> RFReCheckReaderConf(<span class="keywordtype">void</span>);
<a name="l00173"></a>00173     <span class="keywordtype">void</span> RFSuspendAllReaders(<span class="keywordtype">void</span>);
<a name="l00174"></a>00174     <span class="keywordtype">void</span> RFAwakeAllReaders(<span class="keywordtype">void</span>);
<a name="l00175"></a>00175 
<a name="l00176"></a>00176 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00177"></a>00177 <span class="preprocessor"></span>}
<a name="l00178"></a>00178 <span class="preprocessor">#endif</span>
<a name="l00179"></a>00179 <span class="preprocessor"></span>
<a name="l00180"></a>00180 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>