summaryrefslogtreecommitdiff
path: root/server/smartcard.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2016-03-31 16:06:59 -0500
committerFrediano Ziglio <fziglio@redhat.com>2016-04-01 11:59:33 +0100
commitf02b66a22583cdc4efb85b8086759fc926f108f5 (patch)
treed45a0d6b259d641506b09a40428e018a58db1cdb /server/smartcard.c
parentfe3d5d542d867a1d4da331035a60403bf7289998 (diff)
Rename SpiceCharDeviceMsgToClient to RedCharDeviceMsgToClient
Internal types should use Red namespace for consistency Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/smartcard.c')
-rw-r--r--server/smartcard.c12
1 files changed, 6 insertions, 6 deletions
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)
{