mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-07 06:59:50 +00:00
server: reds/inputs_channel: move some structs to inputs_channel
This commit is contained in:
parent
e662e6a59f
commit
5e13eea73c
@ -44,6 +44,18 @@
|
||||
#define RECEIVE_BUF_SIZE \
|
||||
(4096 + (REDS_AGENT_WINDOW_SIZE + REDS_NUM_INTERNAL_AGENT_MESSAGES) * SPICE_AGENT_MAX_DATA_SIZE)
|
||||
|
||||
struct SpiceKbdState {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
struct SpiceMouseState {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
struct SpiceTabletState {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
typedef struct InputsChannel {
|
||||
RedChannel base;
|
||||
uint8_t recv_buf[RECEIVE_BUF_SIZE];
|
||||
|
||||
@ -61,18 +61,6 @@ typedef struct Channel {
|
||||
void *data;
|
||||
} Channel;
|
||||
|
||||
struct SpiceKbdState {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
struct SpiceMouseState {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
struct SpiceTabletState {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
struct QXLState {
|
||||
QXLInterface *qif;
|
||||
struct RedDispatcher *dispatcher;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user