[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] libcacard: cac_is_cac_card?
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] libcacard: cac_is_cac_card? |
Date: |
Mon, 13 Jul 2015 16:31:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 13/07/2015 14:45, Michael Tokarev wrote:
> Ping?
>
> 27.04.2015 09:56, Michael Tokarev wrote:
>> This function is declared in libcacard/cac.h
>>
>> VCardStatus cac_is_cac_card(VReader *reader);
>>
>> it is referenced in a ifdef-ed out code in libcacard/vcard_emul_type.c:
>>
>>
>> VCardEmulType vcard_emul_type_select(VReader *vreader)
>> {
>> #ifdef notdef
>> /* since there is only one emulator no need to call this function */
>> if (cac_is_cac_card(vreader) == VCARD_DONE) {
>> return VCARD_EMUL_CAC;
>> }
>> #endif
>> /* return the default */
>> return VCARD_EMUL_CAC;
>> }
>>
>> and it is mentioned in libcacard/libcacard.syms.
>>
>> But it is not defined anywhere. Should it be removed
>> from all places it is referenced at, or should it be
>> implemented instead?
If it's not defined, its mention in libcacard.syms has no effect and the
references can be removed.
Paolo