[Spice-devel] [PATCH 06/12] server: reds/inputs_channel: move some structs to inputs_channel

Hans de Goede hdegoede at redhat.com
Mon Dec 6 03:38:10 PST 2010


Ack.

On 12/06/2010 11:49 AM, Alon Levy wrote:
> ---
>   server/inputs_channel.c |   12 ++++++++++++
>   server/reds.h           |   12 ------------
>   2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/server/inputs_channel.c b/server/inputs_channel.c
> index 2d76d03..aeb3796 100644
> --- a/server/inputs_channel.c
> +++ b/server/inputs_channel.c
> @@ -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];
> diff --git a/server/reds.h b/server/reds.h
> index 7f656e3..e440804 100644
> --- a/server/reds.h
> +++ b/server/reds.h
> @@ -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;


More information about the Spice-devel mailing list