On 2/3/2011 11:58 PM, Martin Paljak wrote:
>
> On Feb 3, 2011, at 10:04 PM, Douglas E. Engert wrote:
>
> I would consider using a new hook, like "use_reader" or  
> "use_pcsc_parameters" to
> send the arguments to reader-pcsc.c and set the (pcsc, not cardmod) driver to
> "cardmod state". The reader operations API is by no means set in stone.
> Nor is there need to abstract it away too much, the usage pattern is
> known and the code path to implement it should be as simple as possible
> (sc_XXX wrapper that will not be used by any other reader driver, like
> sc_cancel and sc_wait_for_event are examples of "somewhat bad ideas".
> Yet it is a working pattern.)

I agree, a new entry point use_reader would work. I will look at adding such
and entry point that will be ignored by the other drivers, and callable
as sc_ctx_use_reader(ctx, void *, void *)

>

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to