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 ?
> int CTB_LoadCTLibrary ( char *pcConfigFile, // Config File Location.
> char *pcReader // Reader Id.
> );
How do you bind a CT with the right library?
>
> /* Dynamically unloads the current CT-API library */
> int CTB_CloseCTLibrary (
> void
> );
What is the *current* library ?
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
***************************************************************