diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-01-25 14:14:32 -0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-01-26 07:59:33 +0100 |
commit | 80ae865468bde918363a123aa26c6fc4385023ac (patch) | |
tree | 2b00678ecb67754b6c06e1c08da36bf790688826 /hw/usb/ccid.h | |
parent | c7516699fc416ed836639dff12115f9d806bfc82 (diff) |
usb-ccid: convert CCIDCardClass::exitfn() -> unrealize()
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180125171432.13554-4-f4bug@amsat.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/ccid.h')
-rw-r--r-- | hw/usb/ccid.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/usb/ccid.h b/hw/usb/ccid.h index 6c6c10188d..3920733f13 100644 --- a/hw/usb/ccid.h +++ b/hw/usb/ccid.h @@ -28,13 +28,15 @@ typedef struct CCIDCardInfo CCIDCardInfo; * into the smartcard device (hw/ccid-card-*.c) */ typedef struct CCIDCardClass { + /*< private >*/ DeviceClass parent_class; + /*< public >*/ const uint8_t *(*get_atr)(CCIDCardState *card, uint32_t *len); void (*apdu_from_guest)(CCIDCardState *card, const uint8_t *apdu, uint32_t len); - void (*exitfn)(CCIDCardState *card); void (*realize)(CCIDCardState *card, Error **errp); + void (*unrealize)(CCIDCardState *card, Error **errp); } CCIDCardClass; /* |