2010/1/7 Murat Baran <[email protected]>:
> This function is in opensc.h, what do mean by "internal"?

OpenSC goal is to provide a PKCS#11 lib.
sc_detect_card_presence() is not part of this PKCS#11 API.

> We are not using pkcs11 library if you mean that.
> Is it bad to use opensc alone ?

It is not bad. Is it, maybe, overkill to use OpenSC just to detect if
a card is inserted or not.
You could use SCardGetStatusChange() instead.

And it may not be safe to use an (internal) libopensc function in a
multi-thread process.

Bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to