diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2015-02-06 14:10:29 -0600 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-02-23 23:00:46 +0100 |
commit | c2556da161015a58cf82b17969e0beeaff287afe (patch) | |
tree | ba52a3dea45e1d6a9b5774bc6ad379ebae59d70c /server/dcc.h | |
parent | 1c7cf80e55776fd1e4b60d972c309390660587dc (diff) | |
download | spice-c2556da161015a58cf82b17969e0beeaff287afe.tar.gz spice-c2556da161015a58cf82b17969e0beeaff287afe.tar.xz spice-c2556da161015a58cf82b17969e0beeaff287afe.zip |
CommonChannel -> CommonWorkerChannel
Rename this struct to make it clear that it's only the base class for
worker channels (e.g. display and cursor), not all channels.
Also renamed CommonChannelClient to CommonWorkerChannelClient.
Diffstat (limited to 'server/dcc.h')
-rw-r--r-- | server/dcc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/dcc.h b/server/dcc.h index 2f884529..ead36232 100644 --- a/server/dcc.h +++ b/server/dcc.h @@ -39,7 +39,7 @@ typedef struct FreeList { } FreeList; struct _DisplayChannelClient { - CommonChannelClient common; + CommonWorkerChannelClient common; spice_image_compression_t image_compression; spice_wan_compression_t jpeg_state; spice_wan_compression_t zlib_glz_state; @@ -100,7 +100,7 @@ struct _DisplayChannelClient { }; #define DCC_TO_WORKER(dcc) \ - (SPICE_CONTAINEROF((dcc)->common.base.channel, CommonChannel, base)->worker) + (SPICE_CONTAINEROF((dcc)->common.base.channel, CommonWorkerChannel, base)->worker) #define DCC_TO_DC(dcc) \ SPICE_CONTAINEROF((dcc)->common.base.channel, DisplayChannel, common.base) #define RCC_TO_DCC(rcc) SPICE_CONTAINEROF((rcc), DisplayChannelClient, common.base) |