Re: [opensc-devel] function export

2009-04-15 Thread Alon Bar-Lev
Currently no function of internal.h is exported, you may check it out. It is true that there is some legacy, but it is not a reason to make more exceptions. If you like to export it, please move it to appropriate header. Thanks, Alon. On Wed, Apr 15, 2009 at 10:39 AM, Martin Paljak wrote: > > On

Re: [opensc-devel] function export

2009-04-15 Thread Martin Paljak
On 15.04.2009, at 10:18, Alon Bar-Lev wrote: > Don't do this. > You are messing the interface. True. Unfortunately, to my understanding, OpenSC lacks a "formal" API with a set of defined header files. For example, we have the totally useless EMV card driver, emv.h header file which is filesyst

Re: [opensc-devel] function export

2009-04-15 Thread Alon Bar-Lev
It is... As you need an installed opensc to compile and load the driver. Alon. On Wed, Apr 15, 2009 at 10:32 AM, Marc Rios Valles wrote: > It's not for using OUT of OpenSC, its for a driver for OpenSC not an > external application. > > -- > Marc Rios Vallès > m...@c3po.es > > C3PO, S.A. > http:/

Re: [opensc-devel] function export

2009-04-15 Thread Marc Rios Valles
It's not for using OUT of OpenSC, its for a driver for OpenSC not an external application. -- Marc Rios Vallès m...@c3po.es C3PO, S.A. http://www.c3po.es C/ Alejandro Goicoechea, 6 Local 9 - 08960 St. Just Desvern, Barcelona Tel. 93 417 99 55 - Fax 93 253 12 80 On Miércoles 15 Abril 2009 09:18

Re: [opensc-devel] function export

2009-04-15 Thread Alon Bar-Lev
Don't do this. You are messing the interface. If the function is in internal.h it should not be used outside OpenSC library. If you do want to export it, you should move it to proper include file that is installed on target system. Please figure out what you want to do but do it properly. Alon.

Re: [opensc-devel] function export

2009-04-14 Thread Andreas Jellinghaus
Am Dienstag 14 April 2009 18:38:34 schrieb Martin Paljak: > I know of one reason. Copied from OpenSC wiki: > > http://www.opensc-project.org/opensc/wiki/Cyberflex > > Is there a tool for it? ¶ > A small tool to get some information about the cards can be found > here: http://www.contrib.andrew.cmu.

Re: [opensc-devel] function export

2009-04-14 Thread Martin Paljak
On 15.04.2009, at 9:07, Marc Rios Valles wrote: > I use this function in my driver to check the data that is returned > form the card, as all the internal drivers of opensc. Update to r3681. Thanks! -- Martin Paljak http://martin.paljak.pri.ee +372.515.6495 ___

Re: [opensc-devel] function export

2009-04-14 Thread Marc Rios Valles
Hi Alon, I use this function in my driver to check the data that is returned form the card, as all the internal drivers of opensc. I think it's a very useful function and it's not dificult to export it. I discovered that was missing making some test with my driver. Thanks for all -- Marc Rio

Re: [opensc-devel] function export

2009-04-14 Thread Martin Paljak
I know of one reason. Copied from OpenSC wiki: http://www.opensc-project.org/opensc/wiki/Cyberflex Is there a tool for it? ¶ A small tool to get some information about the cards can be found here: http://www.contrib.andrew.cmu.edu/~cg2v/jcop-opensc-0.2.tar.gz It was written for IBM JCop cards

Re: [opensc-devel] function export

2009-04-14 Thread Alon Bar-Lev
Helo, Can you pease explain why do you need to use it? Thanks, Alon. On Tue, Apr 14, 2009 at 9:17 AM, Marc Rios Valles wrote: > Hi, > > I have found another function I think should be exported. It's > 'sc_check_sw'. Can you add it to libopensc.exports file? > > Thanks > > -- > Marc Rios Vallès