On Sun, 20 Sep 1998, you wrote:
>On Sun, Sep 20, 1998 at 09:38:30AM -0500, David Corcoran wrote:
>> Hello,
>>
>> Here is an update on what is going on.
>You are doing a very good job.
>
>> 1 Finds reader in config file returns library and dynamically loads it.
>Where this files are located ?
>/usr/share/ctapi/ for config files
>/usr/lib/ for libraries ?
^ I haven't decided yet. Right now I'm just looking in the current directory
but I will take your two suggestions above. Quick change.
>
>> int CTB_LoadCTLibrary ( char *pcConfigFile, // Config File Location.
>> char *pcReader // Reader Id.
>> );
>How do you bind a CT with the right library?
^ A new release will come out today with a changed API. Each card reader is
pushed on a link list and you will call these functions with another parameter,
which denotes the card reader. The list will have a handle to the library and
will return it to the above functions.
>>
>> /* Dynamically unloads the current CT-API library */
>> int CTB_CloseCTLibrary (
>> void
>> );
>What is the *current* library ?
^ Again, this will be changed with the above.
>
>How about:
> int CTB_LoadCTLibrary (const char *pcConfigFile,
> const char *pcReader,
> int iTerminal);
> int CTB_CloseCTLibrary (int iTerminal);
>
>
>--
>Ciao Walter.
>
>C makes it easy for you to shoot yourself in the foot. C++ makes that
>harder, but when you do, it blows away your whole leg.
> -- Bjarne Stroustrup
>***************************************************************
>Linux Smart Card Developers - M.U.S.C.L.E.
>(Movement for the Use of Smart Cards in a Linux Environment)
>http://www.linuxnet.com/smartcard/index.html
>***************************************************************
--
******************************************************************
David Corcoran Internet Security/Smartcards
Work: School:
205 Industrial Blvd 2252 US Highway 52 West Apt C4
Sugar Land, TX 77478 West Lafayette, IN 47906
Suggestion: Use Linux, it is for IQ's higher than 95.
Quote:
If you can't make it work, at least make it look good.
~ Bill Gates
******************************************************************
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************