From f02b66a22583cdc4efb85b8086759fc926f108f5 Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Thu, 31 Mar 2016 16:06:59 -0500 Subject: Rename SpiceCharDeviceMsgToClient to RedCharDeviceMsgToClient Internal types should use Red namespace for consistency Acked-by: Frediano Ziglio --- server/smartcard.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'server/smartcard.c') diff --git a/server/smartcard.c b/server/smartcard.c index d34fa05a..20d72618 100644 --- a/server/smartcard.c +++ b/server/smartcard.c @@ -136,8 +136,8 @@ static void smartcard_read_buf_prepare(SmartCardDeviceState *state, VSCMsgHeader } } -static SpiceCharDeviceMsgToClient *smartcard_read_msg_from_device(SpiceCharDeviceInstance *sin, - void *opaque) +static RedCharDeviceMsgToClient *smartcard_read_msg_from_device(SpiceCharDeviceInstance *sin, + void *opaque) { SmartCardDeviceState *state = opaque; SpiceCharDeviceInterface *sif = spice_char_device_get_interface(sin); @@ -173,19 +173,19 @@ static SpiceCharDeviceMsgToClient *smartcard_read_msg_from_device(SpiceCharDevic return NULL; } -static SpiceCharDeviceMsgToClient *smartcard_ref_msg_to_client(SpiceCharDeviceMsgToClient *msg, - void *opaque) +static RedCharDeviceMsgToClient *smartcard_ref_msg_to_client(RedCharDeviceMsgToClient *msg, + void *opaque) { return smartcard_ref_vsc_msg_item((MsgItem *)msg); } -static void smartcard_unref_msg_to_client(SpiceCharDeviceMsgToClient *msg, +static void smartcard_unref_msg_to_client(RedCharDeviceMsgToClient *msg, void *opaque) { smartcard_unref_vsc_msg_item((MsgItem *)msg); } -static void smartcard_send_msg_to_client(SpiceCharDeviceMsgToClient *msg, +static void smartcard_send_msg_to_client(RedCharDeviceMsgToClient *msg, RedClient *client, void *opaque) { -- cgit v1.2.3