ccid.h (95a9457fd44ad97c518858a4e1586a5498f9773c) | ccid.h (b69c3c21a5d11075d42100d5cfe0a736593fae6b) |
---|---|
1/* 2 * CCID Passthru Card Device emulation 3 * 4 * Copyright (c) 2011 Red Hat. 5 * Written by Alon Levy. 6 * 7 * This code is licensed under the GNU LGPL, version 2 or later. 8 */ --- 22 unchanged lines hidden (view full) --- 31 /*< private >*/ 32 DeviceClass parent_class; 33 /*< public >*/ 34 const uint8_t *(*get_atr)(CCIDCardState *card, uint32_t *len); 35 void (*apdu_from_guest)(CCIDCardState *card, 36 const uint8_t *apdu, 37 uint32_t len); 38 void (*realize)(CCIDCardState *card, Error **errp); | 1/* 2 * CCID Passthru Card Device emulation 3 * 4 * Copyright (c) 2011 Red Hat. 5 * Written by Alon Levy. 6 * 7 * This code is licensed under the GNU LGPL, version 2 or later. 8 */ --- 22 unchanged lines hidden (view full) --- 31 /*< private >*/ 32 DeviceClass parent_class; 33 /*< public >*/ 34 const uint8_t *(*get_atr)(CCIDCardState *card, uint32_t *len); 35 void (*apdu_from_guest)(CCIDCardState *card, 36 const uint8_t *apdu, 37 uint32_t len); 38 void (*realize)(CCIDCardState *card, Error **errp); |
39 void (*unrealize)(CCIDCardState *card, Error **errp); | 39 void (*unrealize)(CCIDCardState *card); |
40} CCIDCardClass; 41 42/* 43 * state of the CCID Card device (i.e. hw/ccid-card-*.c) 44 */ 45struct CCIDCardState { 46 DeviceState qdev; 47 uint32_t slot; /* For future use with multiple slot reader. */ --- 20 unchanged lines hidden --- | 40} CCIDCardClass; 41 42/* 43 * state of the CCID Card device (i.e. hw/ccid-card-*.c) 44 */ 45struct CCIDCardState { 46 DeviceState qdev; 47 uint32_t slot; /* For future use with multiple slot reader. */ --- 20 unchanged lines hidden --- |