28.04.2014 15:48, Michael Tokarev wrote:
[]
> I've added a tiny (but hackish and fun) wrapper header for all
> this, and pushed whole thing into a branch on my site -- see
>
> http://git.corpit.ru/?p=qemu.git;a=shortlog;h=refs/heads/libcacard-standalone
>
> The wrapper is here:
>
>
> http://g
28.04.2014 14:19, Peter Maydell wrote:
> On 27 April 2014 17:26, Michael Tokarev wrote:
>> -static QemuMutex vevent_queue_lock;
>> -static QemuCond vevent_queue_condition;
>> +static GMutex vevent_queue_lock;
>> +static GCond vevent_queue_condition;
>>
>> void vevent_queue_init(void)
>> {
>> -
On 27 April 2014 17:26, Michael Tokarev wrote:
> Replace QemuMutex with GMutex and QemuCond with GCond
> (with corresponding function changes), to make libcacard
> independent of qemu internal functions.
> --- a/libcacard/event.c
> +++ b/libcacard/event.c
> @@ -43,13 +43,13 @@ vevent_delete(VEven
Replace QemuMutex with GMutex and QemuCond with GCond
(with corresponding function changes), to make libcacard
independent of qemu internal functions.
After this step, none of libcacard internals use any
qemu-provided symbols. Maybe it's a good idea to
stop including qemu-common.h internally too.