[Spice-devel] [PATCH spice-protocol] Add controller message ENABLE_SMARTCARD

Hans de Goede hdegoede at redhat.com
Sat Feb 18 07:29:47 PST 2012


Looks good, ack.

On 02/18/2012 04:20 PM, Marc-André Lureau wrote:
> The sent message must be a ControllerValue whose value is either '0'
> disabled, or '1' enabled.
> ---
>   configure.ac            |    2 +-
>   spice/controller_prot.h |    2 ++
>   2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index e1c3861..9047742 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2,7 +2,7 @@ AC_PREREQ([2.57])
>
>   m4_define([SPICE_MAJOR], 0)
>   m4_define([SPICE_MINOR], 10)
> -m4_define([SPICE_MICRO], 1)
> +m4_define([SPICE_MICRO], 2)
>
>   AC_INIT(spice-protocol, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-protocol)
>
> diff --git a/spice/controller_prot.h b/spice/controller_prot.h
> index 44d78e1..a60b122 100644
> --- a/spice/controller_prot.h
> +++ b/spice/controller_prot.h
> @@ -73,6 +73,8 @@ enum {
>       CONTROLLER_SHOW,
>       CONTROLLER_HIDE,
>
> +    CONTROLLER_ENABLE_SMARTCARD,
> +
>       //spice client ->  extrenal app
>       CONTROLLER_MENU_ITEM_CLICK = 1001,
>   };


More information about the Spice-devel mailing list