mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 06:32:44 +00:00
cache-item: Move RedCachePipeItem declaration to common-graphics-channel.h
The pipe items are meant to be used by channel clients, so move declaration where channel clients is. This item is used by both CursorChannelClient and DisplayChannelClient so the CommonGraphicsChannel is the proper place. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Julien Ropé <jrope@gmail.com>
This commit is contained in:
parent
255f6b2fd3
commit
e7cdaa668d
@ -23,12 +23,6 @@
|
||||
|
||||
#include "red-pipe-item.h"
|
||||
|
||||
/* pipe item used to release a specific cached item on the client */
|
||||
struct RedCachePipeItem {
|
||||
RedPipeItem base;
|
||||
uint64_t id;
|
||||
};
|
||||
|
||||
struct RedCacheItem {
|
||||
RingItem lru_link;
|
||||
RedCacheItem *next;
|
||||
|
||||
@ -68,6 +68,12 @@ protected:
|
||||
virtual bool config_socket() override;
|
||||
};
|
||||
|
||||
/* pipe item used to release a specific cached item on the client */
|
||||
struct RedCachePipeItem {
|
||||
RedPipeItem base;
|
||||
uint64_t id;
|
||||
};
|
||||
|
||||
#include "pop-visibility.h"
|
||||
|
||||
#endif /* COMMON_GRAPHICS_CHANNEL_H_ */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user