Re: [Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-03-14 Thread Alon Levy
On Mon, Mar 14, 2011 at 04:50:21PM +0100, Jes Sorensen wrote: > On 03/14/11 15:52, Alon Levy wrote: > >> [snip] > >>> > > +/* VSCMsgInit Client <-> Host > >>> > > + * Client sends it on connection, with its own capabilities. > >>> > > + * Host replies with VSCMsgInit filling in its ca

Re: [Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-03-14 Thread Jes Sorensen
On 03/14/11 15:52, Alon Levy wrote: >> [snip] >>> > > +/* VSCMsgInit Client <-> Host >>> > > + * Client sends it on connection, with its own capabilities. >>> > > + * Host replies with VSCMsgInit filling in its capabilities. >>> > > + * >>> > > + * It is not meant to be used for negot

Re: [Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-03-14 Thread Alon Levy
On Mon, Mar 14, 2011 at 03:01:19PM +0100, Jes Sorensen wrote: > On 02/23/11 12:20, Alon Levy wrote: > > diff --git a/libcacard/vscard_common.h b/libcacard/vscard_common.h > > new file mode 100644 > > index 000..7449314 > > --- /dev/null > > +++ b/libcacard/vscard_common.h > > @@ -0,0 +1,167 @@

Re: [Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-03-14 Thread Alon Levy
On Mon, Mar 14, 2011 at 03:01:19PM +0100, Jes Sorensen wrote: > On 02/23/11 12:20, Alon Levy wrote: > > diff --git a/libcacard/vscard_common.h b/libcacard/vscard_common.h > > new file mode 100644 > > index 000..7449314 > > --- /dev/null > > +++ b/libcacard/vscard_common.h > > @@ -0,0 +1,167 @@

Re: [Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-03-14 Thread Jes Sorensen
On 02/23/11 12:20, Alon Levy wrote: > diff --git a/libcacard/vscard_common.h b/libcacard/vscard_common.h > new file mode 100644 > index 000..7449314 > --- /dev/null > +++ b/libcacard/vscard_common.h > @@ -0,0 +1,167 @@ > +/* Virtual Smart Card protocol definition > + * > + * This protocol is be

[Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-02-23 Thread Alon Levy
--- Signed-off-by: Alon Levy v19->v20 changes: * checkpatch.pl v15->v16 changes: Protocol change: * VSCMsgInit capabilities and magic * removed ReaderResponse, will use Error instead with code==VSC_SUCCESS. * adaded Flush and FlushComplete, remove Reconnect. * define VSCARD_MAGIC * added

[Qemu-devel] [PATCH 2/7] introduce libcacard/vscard_common.h

2011-02-07 Thread Alon Levy
--- Signed-off-by: Alon Levy v15->v16 changes: Protocol change: * VSCMsgInit capabilities and magic * removed ReaderResponse, will use Error instead with code==VSC_SUCCESS. * adaded Flush and FlushComplete, remove Reconnect. * define VSCARD_MAGIC * added error code VSC_SUCCESS. Fixes: *