summaryrefslogtreecommitdiffstats
path: root/server/red_client_cache.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-07 14:05:19 +0200
committerAlon Levy <alevy@redhat.com>2011-02-11 15:32:20 +0200
commite8698ea0f89f797fcfb34c192486f636e677f3b2 (patch)
treed0c9f3b7797272ded1aab4369308bc62ecc1516f /server/red_client_cache.h
parent9330dbac13ccec52f32e06169c746f99086e464a (diff)
downloadspice-e8698ea0f89f797fcfb34c192486f636e677f3b2.tar.gz
spice-e8698ea0f89f797fcfb34c192486f636e677f3b2.tar.xz
spice-e8698ea0f89f797fcfb34c192486f636e677f3b2.zip
server/red_worker: introduce CommonChannel
with everything (almost) not in red_channel's RedChannel As a result of CommonChannel a free cb is added to EventHandler, to take care of non zero offset for embedded EventHandler.
Diffstat (limited to 'server/red_client_cache.h')
-rw-r--r--server/red_client_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_client_cache.h b/server/red_client_cache.h
index 15c63d81..28f99550 100644
--- a/server/red_client_cache.h
+++ b/server/red_client_cache.h
@@ -74,7 +74,7 @@ static void FUNC_NAME(remove)(CHANNEL *channel, CacheItem *item)
channel->VAR_NAME(available) += item->size;
red_pipe_item_init(&item->u.pipe_data, PIPE_ITEM_TYPE_INVAL_ONE);
- red_pipe_add_tail(&channel->base, &item->u.pipe_data); // for now
+ red_pipe_add_tail(&channel->common.base, &item->u.pipe_data); // for now
}
static int FUNC_NAME(add)(CHANNEL *channel, uint64_t id, size_t size)